title: C# Filestream denied access
body: <p>I'm trying to use C# to create a file, and read files back to fill out a rich text block. right now my problem is in creating/writing to the file. </p>
  
  <pre><code>FileStream fs = File.Create(@".\\tmp\" + fileName);
  </code></pre>
  
  <p>This is where I'm trying to write to. .\tmp\ exists, but when trying to write it it errors, saying</p>
  
  <blockquote>
    <p>.\tmp\filename access is denied</p>
  </blockquote>