Reputation: 27713
I want to read things like CPU usage, memory usage, etc. Normally, I would do that with a PerformanceCounter
. But The assemblies for UWP don’t have that. So how is it done in Windows Universal Apps?
Upvotes: 5
Views: 1236
Reputation: 6172
you have to use native calls and pinvoke. see my other post. stilling searching for libraries for cpu usage, but memory usage and cpu info is handled in this post
summarizes both SO post (Microsoft forums)
Diagnostic stat with pinvoke - SO question
Upvotes: 1