Limit LAN usage


hello,

i have windows application backup plenty of files (about 50,000 files) over lan.

the problem while application works network resources not responding, cannot access server or connect remotely.

the application runs on local computer , copying files located on local server.

i'am using io.directory.getfiles() discover files , io.file.copy() copy them, sync function runs within system.componentmodel.backgroundworker.

is there way limit lan usage of worker or whole appliction?

tahnks..

hi igal_b,

welcome msdn forum.

please take @ similar thread: http://social.msdn.microsoft.com/forums/en-us/netfxnetcom/thread/c9193d48-8488-49a4-9a5b-ab2f7e0a1812 

if currentspeed > allowedspeed    thread.sleep(250) 'value increase/decrease better result end if

you can try same way.

best regards,


mike feng
msdn community support | feedback us
please remember mark replies answers if , unmark them if provide no help.



.NET Framework  >  Common Language Runtime Internals and Architecture



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'