PerformanceCounter
Enables reading and writing performance data through Windows Performance Monitor.
The Wisej.NET PerformanceCounter
component enables reading predefined or custom performance counters and publishing data to custom counters through Windows Performance Monitor.
The PerformanceCounter
implements IDisposable
. Always dispose of it either:
Directly: Call
Dispose()
in a try/catch blockIndirectly: Use language constructs like
using
(C#) orUsing
(VB)
Features
Counter Types
Two main usage scenarios:
Read existing predefined or custom counters
Publish (write) performance data to custom counters
Predefined Counters
Access numerous predefined counters through Windows Performance Monitor's Add Counters dialog box.
For detailed information about performance monitoring, see:
Last updated
Was this helpful?