Hi,
I have an application that needs to create and copy files in multiple locations that can be share folder on the network. I'm using System.IO.Direc tory.Exists() method to determine if directory is exist before I do the work. If some machine is down (I just unplug network cable for testing) at this moment this method always returns false that what expect, but on my machine it returns almost right away and on other system it delays for 30 seconds or more.I can't figure out what can cause this and how I can resolve this problem. I'll appreciate any help.
I have an application that needs to create and copy files in multiple locations that can be share folder on the network. I'm using System.IO.Direc tory.Exists() method to determine if directory is exist before I do the work. If some machine is down (I just unplug network cable for testing) at this moment this method always returns false that what expect, but on my machine it returns almost right away and on other system it delays for 30 seconds or more.I can't figure out what can cause this and how I can resolve this problem. I'll appreciate any help.
Comment