日期:2014-05-18  浏览次数:20887 次

如何获取网卡收发字节数
就如netstat   -e
里面的sendbyte   和receivebyte
要求使用WMI。。。
又是WMI   万恶的WMI

------解决方案--------------------
up
------解决方案--------------------
up~

------解决方案--------------------
You can issue the IOCTL_NDIS_QUERY_GLOBAL_STATS IOCTL on the Adapter,
or use RasGetConnectionStatistics when appropriate
------解决方案--------------------
up
------解决方案--------------------
在System.Net下的一个命名空间可以统计,具体怎么写我忘了,但肯定是System.Net开头的