I'm trying to get the network usage of my program by using PerformanceCounter component,but i met a problem .
I set the "CategoryName" property to ".NET CLR Networking" and "CounterName" property to "Bytes Received".If i start the program I'll get an exception
"Category '.NET CLR Networking' is marked as multi-instance. Performance counters in this category can only be created with instance names."
but there is no instance in this category(at least I think so) .
please help me,thanks
View Complete Post