C#: How to Make it Harder for Hacker/Cracker to Get Around or Bypass the Licensing Check?
- by Peter Lee
Hi all,
Suppose that the user has saved the License file under the Application.StartupPath, where all users can read.
And then, every time when the app starts, it will check if it can find and verify the license file.
If the app can find and verify, we let the user to continue with full functinalities.
If not, we prompt a MessageBox showing "Unlicencsed, continue to use with trial version, functionalities limited."
My question is, if I'm a hacker/cracker, I would try to get around or bypass the licensing check instead of cracking the license file, because, if we use RSA signature, it's very difficult to crack a license file.
So where should we put the license check?
thanks.
Merry Christmas and Happy New Year!
Peter
P.S.: and also, is it safe if I put a global variable IsLicensed (true / false) to limit the functionalities? Is it easy for a hacker to change IsLicensed = true?