Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

 

Is there any way to retrieve network statistics like the total bytes transferred during a network session on a NIC adapter?

 

I've had a look in the Performance Counters under Network Interface but there is only bytes/sec counters.

 

Any help is appreciated,

Thanks, Tom

Posted
As no-one else has posted, i will have a go with an idea. I have never tried it myself but... you could try something called winpcap or something like that. Its used for network security so that you can detect all information going in and out of your computer. It might be a little bit too specific for what you want but other than that I cant think of a better idea.
Chris
Posted

wildfire1982,

 

Thank you for your response! I have investigated the winpcap library (http://winpcap.polito.it/docs/default.htm) and it looks interesting. It certainly appears to be able to provide some network statistics, which is great!

 

When I figure out how to use it (it's all in C++ :S), and what it can really do, I shall post some examples/classes here so everyone can do it!

 

Thanks again, Tom

  • 3 weeks later...
Posted
There are plenty GUI's out there for winpcap, unfortunately the c# one mentioned above hasnt been relesed yet. A nice one is called ANALYZER and comes from politecnico di torino.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...