I create a PerfoamnceCounter like:
ccds = new CounterCreationData
new CounterCreationData("Open Objects", "Open Objects",
ccdc = new CounterCreationDataCollection(ccds);
pcc = PerformanceCounterCategory.Create(pcName, pcName, PerformanceCounterCategoryType
In case I update the RawValue or use IncreaseBy the value seams to be set correct (in case I debug the application). But the windows resource monitor is not showing any updates. The same Code with a RateOfCountsPerSecond64 is working.
Try to play with names of parameters. I have had the same problems and renaming resolve this problem.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)