Video tip C#: Ensure only one instance is running
I would use a mutex object - using the process name might cause errors. Try "WaitOne" on the mutex - only the first process will be able to acquire it, and in the case of a failure, just exit.
I would use a mutex object - using the process name might cause errors. Try "WaitOne
" on the mutex - only the first process will be able to acquire it, and in the case of a failure, just exit.