You should be able to use the static GetCategories method on the
PerformanceCounterCategory class. This should give you all the performance
counter categories on the computer. Once you have that, you can get all the
counters that are in a category, and then get all the values for those
counters.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.