How do I access files on a c$ resource from C#
<p>I'm using an example like this:</p>

<pre><code>System.IO.File.Copy("\\host\c$\folder\file.end", "c:\file.end", true);
</code></pre>

<p>But I'm only getting a DirectoryNotFoundException with the description </p>

<blockquote>
  <p>Could not find a part of the path '\host\c$\folder\file.end'</p>
</blockquote>

<p>What do I have to do to access files on a DRIVE$ resource? I have administrative privileges on the machine. </p>
