如何获取网卡收发字节数
就如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开头的