c# - Maintaining single instance application -


I am working on this application and got this problem. Running the program through the command line with different arguments opens the separate .exe process.

My question is how can I stop opening the same file multiple times, and it is possible to open a new command line argument for example open it already.

Thanks

There is a quick way to do this. Just use a mutex lock.


Comments