I dont know how to create a winform application which has only one instance anytime. Could someone please help me how to do that ?
Asked
Active
Viewed 854 times
1 Answers
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
-
Thank you, that helps me :) Cheers – Jasmine Mar 13 '13 at 13:20