How to check a file is present or not in UNC path?
<p>Im trying to check the presence of the file in a UNC path using the File.Exist() func in c#, But even if the file is present it returns only as false.</p>

<p>Following is the sample code</p>

<pre><code>outPath="\\DevSrv\\outPath\\result.txt";
if(File.Exists(outPath))
{
 .....
}
</code></pre>

<p>The above code always fails event the path "\DevSrv\outPath\result.txt" is valid. I am able to access the path using the windows explorer.</p>

<h2>Thanks in advance!!</h2>

<p>Sorry i missed the "\" while creating this post</p>
