What is the procedure to know that when Everytime the user starts the application it will check if an instance is already running. If its not running it will launch it otherwise it will focus to the current one.i have already tried the code for singleton application but its giving lots of errors. its not running properly. can u provide me the othr alternative solution for this??
What is the procedure to know that when Everytime the user starts the application
Share
You should use
Mutexclass, like explained here: Best way to implement singleton in a console application C#?EDIT: I have this in my code: