Get CPU Usage (etc.) Using Windows Store Applications

I want to read things like CPU usage, memory usage, etc. I usually do this with PerformanceCounter. But in assemblies for UWP this is not. So how is this done in Windows Universal Apps?

+4
source share
1 answer

you need to use your own calls and pinvoke. see my other post. looking for libraries to use the processor, but memory usage and processor information are processed in this message

summarizes both SO publications (Microsoft forums)

Basic pinvoke - SO question

Pinvoke diagnostic stat - SO question

+1
source

Source: https://habr.com/ru/post/1605834/


All Articles