0
我創建的PerformanceCounter該計數處理的項目的總數。單元測試WMI的PerformanceCounter
PerformanceCounter pCo = new PerformanceCounter(CategoryName, CounterName, false);
...
pCo.Increment();
我想運行一個測試來檢查cuonter的輸出。
我怎樣才能讀取WMI數據?