I want to get network usage per process.
I've searched, but didn't find a good solution , for example to get the network usage of a messenger ,is my code is correct?
C#
PerformanceCounter pc = new PerformanceCounter("Process", "IO Read Bytes/sec", "System" );C#
Console.WriteLine(pc.NextValue()); Console.ReadLine(); }what can i do?

Gokhul VarmanRank #1,505 · 1.1K reputationPosted Aug 11, 2017, 9:27 AM EDT
Armin Dashti45 reputationPosted Aug 14, 2017, 8:49 AM EDT
Armin Dashti45 reputationPosted Aug 17, 2017, 2:19 AM EDT