How to measure the number of bytes sent and received while using the internet from VB.NET 2010 ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s an example of code that grabs the number of bytes received by the first IPv4 interface .(I set a label to the number, but of course you can do whatever with the number.)
I guess if you wanted it to automagically update or something, you could tie it to a timer or something.