如何在计算机中查找互联网数据 [英] how to find internet data use in computer

查看:84
本文介绍了如何在计算机中查找互联网数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i希望在c#中查找互联网数据报告(发送和接收数据包),我不计算局域网数据的使用情况。只是互联网使用情况。

怎么做它?帮助我

tnx

hi
i want find internet data reporting(send and received packet) in c#,i don't calculate the LAN data usage.just internet usage.
how do it?help me
tnx

推荐答案

可能唯一的办法是监控PC和路由器(或其他互联网)之间的数据包流量连接设备) - 你不会得到一个完全准确的测量方式,因为它将包括非互联网维护数据包,但它是你会得到的最好的。



在C#中做到这一点?这可能有助于您入门: C#中的网络嗅探器 [ ^ ]
Probably the only way is to monitor the packets flowing between the PC and the router (or other internet connection device) - you will not get a totally accurate measurement that way since it will include non-internet "maintenance" packets, but it's the best you will get.

Doing it in C#? This might help get you started: A Network Sniffer in C#[^]


查看这些链接



http://stackoverflow.com/questions/2081827/c-sharp-get-system-network-usage/2081844#2081844 [ ^ ]



http://www.java2s.com/Tutorial/CSharp/0580__Network/ReportinformationfromNetworkInterfacenetworkstatistics .htm [ ^ ]
Check these links

http://stackoverflow.com/questions/2081827/c-sharp-get-system-network-usage/2081844#2081844[^]

http://www.java2s.com/Tutorial/CSharp/0580__Network/ReportinformationfromNetworkInterfacenetworkstatistics.htm[^]


这篇关于如何在计算机中查找互联网数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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