How To Read a File that Already used by another Process
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6035302/filestream-with-locked-file">FileStream with locked file</a>  </p>
</blockquote>



<p>I am trying to build an AV for my college project and during scanning I am getting exception-Access denied,file is used by another process and hence can't scan the file.Also when it's opened in windows explorer,same thing happens.I also used Fileshare.ReadWrite but of no use.It'mostly with C: drive files.</p>
