Skip to main content

PerformanceCounter

WATCH & LEARN0:50 · Animated tutorial
7 scenesPlay, pause, or scrub at your own pace

The Wisej.NET PerformanceCounter component enables reading predefined or custom performance counters and publishing data to custom counters through Windows Performance Monitor.

info

The PerformanceCounter implements IDisposable. Always dispose of it either:

  • Directly: Call Dispose() in a finally block
  • Indirectly: Use language constructs like using (C#) or Using (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.