title: An unhandled exception of type 'System.UnauthorizedAccessException'
body: <p>I have a project in .NET ,when i tries to run it,it runs normally but at time of hiding a file the following error come.</p>
  
  <pre><code>An unhandled exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll .
  Additional information: 
  Access to the path 'C:\temp2.txt' is denied.
  </code></pre>
  
  <p>The project is a stegnography application having des and rijndael algorithms.I am using MS visual studio Express 2012 on windows 7.</p>