Hi,
I'd like to create a simple internet traffic monitor. I need to obtain the amount of data downloaded and uploaded either since running the program or since the moment a connection started.

So far i only managed to obtain the AMOUNT of packets by using:

IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
IPGlobalStatistics statistics = properties.GetIcmpV4Statistics();

Unfortunately it's useless for me... :P

Help me please if you can :).
Bye

Come on guys. Somebody must know the solution.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.