Could someone show how it is possible to check whether another instance of the program (e.g. my_prog_1.exe) is running and if so stop the application from loading if there is an existing instance of it With Different File Name (e.g. my_prog_2.exe).
both assemblies are the same, but their file name is different.
please see this thread :
c-sharp-how-to-check-if-another-instance-of-the-application-is-running
in this thread the answer checks the file names, but i need another parameter other than file names...