111,092
社区成员




性能计数器:
private PerformanceCounter cpuPerformance = new PerformanceCounter();
cpuPerformance.CategoryName = "Processor";
cpuPerformance.CounterName = "% Processor Time";
cpuPerformance.InstanceName = "_Total";
double y = cpuPerformance.NextValue(); //CPU的使用率