Closed MathewSachin closed 4 years ago
If you start the app again, the app won't launch again, the already running instance gains focus.
A Mutex is used to ensure that only a single instance runs, and an EventWaitHandle is used to wake the single instance when you try to launch another.
Mutex
EventWaitHandle
If you start the app again, the app won't launch again, the already running instance gains focus.
A
Mutex
is used to ensure that only a single instance runs, and anEventWaitHandle
is used to wake the single instance when you try to launch another.