如何在C#中控制网络上用户的带宽 [英] how to control bandwidth of user on network in c#

查看:389
本文介绍了如何在C#中控制网络上用户的带宽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经使用WMI检索了网络上远程系统的所有内容
使用System.management并使用System.management.instrumentation.
现在我想使用C#控制网络上用户的带宽
是否可能..或任何人有任何样品

我得到的带宽. Win32_PerfRawData_Tcpip_NetworkInterface wmi键.

是否可以使用wmi或其他任何方式控制用户的带宽(下载和上传)?

请帮忙....

adil

hi ,

i have retrieved every thing of remote system on the network using WMI
using System.management and using System.management.instrumentation.
now i want to control the bandwidth of users on the network using c#
is it possible ..or any one have any sample

i get the bandwidth using . Win32_PerfRawData_Tcpip_NetworkInterface wmi key.

is it posible to control the bandwidth (download and upload ) of the user using wmi or any other way?

please help....

adil

推荐答案

看看这个:

MyDownloader:多线程C#分段下载管理器 [
Take a look into this :

MyDownloader: A Multi-thread C# Segmented Download Manager[^]

Its a real world example for Bandwidth throttling:thumbsup:


也许 [ ^ ]线程可以提供帮助.

不幸的是,这里使用的方法与WMI不同.
Maybe this[^] thread can help.

Unfortunately the approach used here is different from WMI though.


这篇关于如何在C#中控制网络上用户的带宽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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