title: How to Lock Folder in C#
body: <p>I want to have lock on my folder permanently using C#.</p>
  
  <p>That lock should be accessed by the application only whenever it is requested. When the application is closed, that lock should not be accessible. Also when the application is running, that folder cannot be moved or opened outside the application. Means, only through my application that folder should be accessed.</p>