Home All Groups Group Topic Archive Search About

Limit bandwith of my application

Author
7 Jul 2006 3:22 PM
DCaballero
Hi, I've seen on some applications like emule, options on limiting the
amount of outgoing and incoming bandwith the application uses. How can
I incorporate this into my application?

Is this done with the .NET network classes, or do I have to go to C++
or can I use some third party library?

Thanks for your help!
David C.

Author
7 Jul 2006 8:48 PM
GhostInAK
Hello DCaballero,

Well, since you are in control of what you send out of your application then
you would know how much data yer sending.  In your send routine simply throttle
the usage to whatever you like.

-Boo

Show quoteHide quote
> Hi, I've seen on some applications like emule, options on limiting the
> amount of outgoing and incoming bandwith the application uses. How can
> I incorporate this into my application?
>
> Is this done with the .NET network classes, or do I have to go to C++
> or can I use some third party library?
>
> Thanks for your help!
> David C.
Author
10 Jul 2006 2:00 PM
DCaballero
Well the thing is, what we want to do, is limit bandwith of any or all
applications running on the PC.

This is for a corporate control software.

GhostInAK wrote:
Show quoteHide quote
> Hello DCaballero,
>
> Well, since you are in control of what you send out of your application then
> you would know how much data yer sending.  In your send routine simply throttle
> the usage to whatever you like.
>
> -Boo
>
> > Hi, I've seen on some applications like emule, options on limiting the
> > amount of outgoing and incoming bandwith the application uses. How can
> > I incorporate this into my application?
> >
> > Is this done with the .NET network classes, or do I have to go to C++
> > or can I use some third party library?
> >
> > Thanks for your help!
> > David C.
Author
10 Jul 2006 2:15 PM
Carl Daniel [VC++ MVP]
DCaballero wrote:
> Well the thing is, what we want to do, is limit bandwith of any or all
> applications running on the PC.
>
> This is for a corporate control software.

You'd probably have to write a filter driver to control bandwidth of all
applications - definitely outside the scope of .NET entirely.

I'd suggest reposting in microsoft.public.win32.programmer.kernel.

-cd
Author
10 Jul 2006 10:20 PM
DCaballero
Ooops! Would you know of any third party components that I could use in
..NET via Interop fot his?

Carl Daniel [VC++ MVP] wrote:
Show quoteHide quote
> DCaballero wrote:
> > Well the thing is, what we want to do, is limit bandwith of any or all
> > applications running on the PC.
> >
> > This is for a corporate control software.
>
> You'd probably have to write a filter driver to control bandwidth of all
> applications - definitely outside the scope of .NET entirely.
>
> I'd suggest reposting in microsoft.public.win32.programmer.kernel.
>
> -cd
Author
11 Jul 2006 5:17 AM
Carl Daniel [VC++ MVP]
DCaballero wrote:
Show quoteHide quote
> Carl Daniel [VC++ MVP] wrote:
>> DCaballero wrote:
>>> Well the thing is, what we want to do, is limit bandwith of any or
>>> all applications running on the PC.
>>>
>>> This is for a corporate control software.
>>
>> You'd probably have to write a filter driver to control bandwidth of
>> all applications - definitely outside the scope of .NET entirely.
>>
>> I'd suggest reposting in microsoft.public.win32.programmer.kernel.
>>
> Ooops! Would you know of any third party components that I could use
> in .NET via Interop fot his?

Nope - but ask over in .kernel.  Someone there just might (but don't get
your hope up).

-cd