我想从c#应用程序下载文件,但是,我想能够限制我使用的网络带宽,如何从客户端限制下载速度? [英] I'd like to download a file from a c# application but, I'd like to be able to limit the network bandwidth that I use, from the client side how can I limit the download speed?

查看:67
本文介绍了我想从c#应用程序下载文件,但是,我想能够限制我使用的网络带宽,如何从客户端限制下载速度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从ac#应用程序下载文件,但是,我希望能够限制我使用的网络带宽,如何从客户端限制下载速度?

I''d like to download a file from a c# application but, I''d like to be able to limit the network bandwidth that I use, from the client side how can I limit the download speed?
help me.

推荐答案

请参考以下链接,这将有助于解决您的问题:
带宽限制 [
Refer following link this will help to solve your problem:
Bandwidth throttling[^]


您应该尝试明智的主题行,而不是整个问题.您的应用程序无法请求速度.您需要在网络上运行某些东西来限制整体速度.您可以成块地,重复地下载文件,这样就可以计时发生的速度,并等待下一个请求,只要您不等待太久就超时.
You should try for sensible subject lines, not the whole question. You application cannot request a speed. You''d need to have something running on the network that throttled the speed overall. You CAN download a file in lumps, in a repeating loop, so you could time how quick that happens and wait for the next request, so long as you don''t wait so long that it times out.


这篇关于我想从c#应用程序下载文件,但是,我想能够限制我使用的网络带宽,如何从客户端限制下载速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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