title: Get file to FileStream from remote path with another user credentials
body: <p>In my application I use <code>FileStream</code> to read from a file, that is on the fileshare somewhere in the network. So my <code>remoteFilePath</code> variable is something like: <code>\\computername\folder\file.pdf</code></p>
  
  <pre><code>FileStream fileStream = new FileStream(remoteFilePath, FileMode.Open, FileAccess.Read, FileShare.None, 1024 * 1024)
  </code></pre>
  
  <p>Unfortunately, the user that I'm running this application with (that I'm logged into the PC with) does not have access to this fileshare. I have another user (domain, login &amp; password), that has access to those files. </p>
  
  <p>Is it possible to use the other user credentials to get a file to filestream? Can I impersonate the user <strong>only</strong> to get a file, and then continue with my own user? </p>