I want to use the performance counter output in my program. How can I access the performance counter in code without using the perfmon.exe. I want to create my own performan
You can fully interact with performancecounters throught the System.Diagnostics.PerformanceCounter classes (Documentation and examples here).
System.Diagnostics.PerformanceCounter
This is exposed via the PerformanceCounter Class.