Hi,
there is no direct way of doing that in the framework, your best shot is
WMI, now IIRC there is some called QoS in the NIC, this is what you have to
ckeck into.
Do a sarch in google groups , look into the windows groups ( including no
..net ) probably you will find a solution and all you would have to do is
port it to .net :)
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Ulf" <wa******@aol.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Hi,
is there any way to programmatically limit the network traffic received
on a network adapter in C# ?
I need to simulate different speeds over an ADSL connection and run
tests covering speed limits from 1Mbps to 8Mbps on a single machine. So
far I found a shareware (NetLimiter) that pretty much covers my needs,
but I'd rather find a programming solution I could include in my
testscripts.
Thx :)
Ulf