How to remove performance counter

I know how to remove a performance category; which then also deletes all counters inside this category, but how do you delete one counter inside a category in C # (without hacking the registry)?

+6
source share
1 answer

From what I read in the performance counter categories, you cannot remove or add performance counters to a custom category after you create it. You need to delete and recreate the category or create a new one. This MSDN page has some information about changing categories.

+1
source

Source: https://habr.com/ru/post/906840/


All Articles