开发者

Bandwidth shaping and virtual network layer/interface - Windows + .NET

I've recently started my new private project.

The main goal which I want to achieve is to limit the bandwidth on Windows. At first, I'd like to shape the traffic for all system connection, without limiting per application. (I'm not interested in implementing QoS.)

I thought that a good solution for that matter it to create a virtual network driver/layer/interface and to put the whole connection through it. If you think that would be a good solution, please can you help me or suggest how to achieve it?

Feel f开发者_如何学JAVAree to ask more specific questions or just to answer for mine.;)

Thanks,

Andrew.


You could do this with a module in fireBwall. Its a modular Windows firewall/network framework. All you would need to do is make a module that detects the current bandwidth(there is a BandwidthCounter class that may be helpful in the source) then run Thread.Sleep to get the bandwidth to where you want it. If you'd like one of the fireBwall developers to do it, I'm sure they'd be happy to if you requested on the forums. fireBwall modules can be written in .NET, so it would not be very difficult.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜