How to get Network drive size in C# (without "map drive")
<p>I need to get the free space of a Network drive, without "map drive"</p>

<pre><code>DriveInfo drvInfo = new DriveInfo("\\NetworkDrive");
</code></pre>

<p>I try to do this but it does not work.</p>
