上传和下载使用情况 [英] Getting uploading and downloading usage

查看:75
本文介绍了上传和下载使用情况的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C#我希望下载和上传进程的使用情况,以每秒字节为单位,我该如何做?例如,一个应用程序现在下载或上传多少。



我尝试过:



我做了很多研究。

但是我找不到任何东西。

I'm using C# i want to get download and upload usage of processes in bytes per seconds , How i must do this? for example an app how much is downloading or uploading right now.

What I have tried:

I did a lot research.
But i did't find anything for me.

推荐答案

你'我需要使用性能计数器。请参阅此CP文章:



You'll need to use a Performance Counter. See this CP article:

  • An Introduction To Performance Counters[^]


这篇关于上传和下载使用情况的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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