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?
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)
Basic pinvoke - SO question
Diagnostic stat with pinvoke - SO question
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With