C# How to Determine if Netwokr Path Exists w/o new Process <p>I want to check if a certain network drive is accessible and exit my addin if not. It's an Outlook 2013 addin in VSTO. Anyway, I would like to search for it by UNC if possible as \192.168.0.2\WAN\ or I could use the drive letter as a last last resort, but not everyone uses the same letter for that drive in our company. </p> <p>Anyway if I do <code>Directory.Exists("path with correct drive letter");</code> it hangs. I want to just see if its there or not. </p> <p>Can someone provide assistance and also give me a small example?</p> <p>Oh and by the way, there is an answer where a process is spawned to do net use. I wanted to do it without spawning a new process wanted to know if it was possible.</p> <p>Thanks a ton</p>