I am a bit new in threading in c# and on general, in my program I am using mutex to allow only 1 thread getting inside a critical section and f
mutex
Mutex use to identify run app instance.
using (Mutex mutex = new Mutex(true, "app name", out createdNew)) { if (createdNew)//check app is already run { KillOthers(); StartApp(); } else { MessageBox.Show("Another instance already running!"); } }