PerformanceCounter pc = new PerformanceCounter(".NET CLR Networking", "Bytes Received", "System" ); Console.WriteLine(pc.RawValue); Console.ReadLine();
System.InvalidOperationException: 'Counter is single instance, instance name 'System' is not valid for this counter category.'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)