I need to get some of the values that are in the windows 7 resource monitor. In particular,I have found the memory usage and cpu but i am not able to get the bandwidth per process. I've looked into the PerformanceCounter class and I don't see a way to drill down to the process network level. The resource monitor has exactly what I am looking for. I looked into WMI as well and it seems most people recommend not using it but if anyone has WMI query as well then please let me know.
One most important thing that i want to tell you is that i don't want to get the calculated bandwidth of Network Interface , I want per process as shown in the resource monitor of the task manager.
So does anyone know how I can get this statistics at the process level using .net classes?