|
|
От: |
Hawk
|
|
| Дата: | 21.12.05 14:35 | ||
| Оценка: | |||
System.Diagnostics.PerformanceCounter myCounter =
new System.Diagnostics.PerformanceCounter();
myCounter.CategoryName = "Processor";
myCounter.CounterName = "% Processor Time";
myCounter.InstanceName = "_Total";
long raw = myCounter.RawValue;