title: Validating the existence of a remote directory in C#
body: <p>I am using <a href="http://msdn.microsoft.com/en-us/library/system.io.directory.exists.aspx" rel="nofollow">Directory.Exists</a> to see if an entered directory is a valid directory. This works well for all local directories, and for valid remote directories that I have access to, but for remote directories that I don't have access to, it is slow to invalidate.</p>
  
  <p>I suspect that this is because of a built in set number of attempts to find the directory, which are all failing because I don't have access to it.</p>
  
  <p>How can I determine a remote directory is invalid faster?</p>