NetworkInterface.GetIPv4Statistics()。BytesReceived - 它返回什么? [英] NetworkInterface.GetIPv4Statistics().BytesReceived - What does it return?

查看:443
本文介绍了NetworkInterface.GetIPv4Statistics()。BytesReceived - 它返回什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该特定领域的回报是什么?我想要每秒接收的字节数。我应该依赖它吗?

What does that particular field return? I want the the number of bytes received per second. Should I rely on this?

推荐答案

NetworkInterface.GetIPv4Statistics().BytesReceived 

将显示给定接口的总字节数。

will show you the total number of bytes received for the given interface.

我不认为你可以准确地使用它来获得每秒接收的字节数。

I dont think you can exactly use this to get the number of bytes received per second.

检查这个

这篇关于NetworkInterface.GetIPv4Statistics()。BytesReceived - 它返回什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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