如何获得Internet传输字节数? [英] How to get the count of Internet Transferred bytes?

查看:152
本文介绍了如何获得Internet传输字节数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我必须创建一个应用程序,在该应用程序中,我需要获取从Internet到我的计算机的已接收和已传输字节的确切计数,并且它不应该包括从本地网络传输的字节.

它应该显示通过互联网进行的每一次传输,无论使用哪种媒介(打开的网页,下载文件,软件更新).

但是我不能从我应该从哪里开始,所以每一次帮助将不胜感激..


问候,
Ritz

Hi,

I have to create an application where I need to get the exact count of Received and Transferred bytes from Internet to my machine, And it should not include the bytes transferred from local network.

It should show each and every transfer that is done through the internet, irrespective of the medium(open webpage,download file,update of software).

But i could not get from where should i start, So every help would be appreciated..


Regards,
Ritz

推荐答案

您正在使用哪种编程语言?我假设您正在使用VB或C#.

在这种情况下,请查看 SharpPCap [
What programming language are you working on? I''m assuming that you''re using VB or C#.

In which case, take a look at SharpPCap[^].


这篇关于如何获得Internet传输字节数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆