How can I get CPU load per core in C#?
You can either use WMI or the System.Diagnostics namespace. From there you can grab any of the performance counters you wish (however it takes a second (1-1.5s) to initialize those – reading values is ok, only initialization is slow) Code can look then like this: using System.Diagnostics; public static Double Calculate(CounterSample oldSample, CounterSample newSample) { … Read more