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,186
  • 16
  • 62
  • 114

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,537
  • 4
  • 49
  • 76