Non Volatile Check Not registry
Posted on 2009-05-14
I have a program that when installs sets a value in the registry. When the program starts it checks this registry value to determine how many times the program has been run. If its the first time then form1 will run, if not then form2 will run.
This works fine, however the security of the application could be compromised if someone manually changed the registry value to trick the program into believing that its the first run even though it might not be.
Im trying to think of mechanism that I could use to prevent / detect this?
Any suggestions most appreciated.