1

I dont know how to create a winform application which has only one instance anytime. Could someone please help me how to do that ?

Jasmine
  • 5,044
  • 13
  • 56
  • 104

1 Answers1

2

Use Mutex class http://msdn.microsoft.com/en-us/library/system.threading.mutex.aspx It is allowed to create only one instance of Mutex with same name on a machine.

Sasha
  • 8,197
  • 4
  • 48
  • 74