title: What is the best way to make a single instance application in .net?
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/19147/what-is-the-correct-way-to-create-a-single-instance-application">What is the correct way to create a single instance application?</a><br>
    <a href="https://stackoverflow.com/questions/93989/prevent-multiple-instances-of-a-given-app-in-net">Prevent multiple instances of a given app in .NET?</a>  </p>
  </blockquote>
  
  <p>Do I check whether another process with the same name exists? (What if the user doesn't have permission to do that?)</p>
  
  <p>Write a file to disk and delete it before exiting? (what about abnormal termination?)</p>
  
  <p>What would be a best practice to do this?</p>