Using System.Diagonostics Class to get the system performace counters

The system.diagonostics class is  very powerful and lets the developer read or write system performance counters at ease.
Here is one such usage, where I can write my own system performance monitor to read the CPU usage.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.