Validating license sims 2 mobile
that honest users who are willing to pay don't forget to pay after a trial expires, etc).However, you may still have some code that you by no means want to leak out to the public (eg. In this case, the only way to go is to create an API endpoint that your application will call each time the method should be executed.If it's not, just make it difficult enough for the casual hacker.And accept the fact that there will be unlicensed copies out there eventually.
Your application should only have the public key to verify the license key response.
There are many ways to generate license keys, but very few of those ways are truly secure.