SingleInstanceHelper icon indicating copy to clipboard operation
SingleInstanceHelper copied to clipboard

BUG GetRunningProcessHash() is case sensitive

Open Royosef opened this issue 4 years ago • 0 comments

I had a bug that IsApplicationFirstInstance() was returning True because GetRunningProcessHash() was returning different hashes for the same app.

I've debugged the code and found out that one time the Process.GetCurrentProcess().MainModule.FileName ended with .exe and the other time with .EXE.

Royosef avatar Jul 05 '21 06:07 Royosef