I found only one way to block code very well. Almost every type of serial test can be easily hacked by your average second-year programmer.
The way I did this is to use the license object in .NET. In my own licensed facility, he reads the “license” file to find out where the “house” is. This license is an encrypted string. The private key to the string is in the License object.
The License object then calls the home secret password, also encrypted. The server decrypts the password and verifies it ... also logs the IP and username in case of fraud investigation. If the server can verify the password, it responds with a secret response, encrypted again so that it cannot be tampered with. If it cannot be verified, the connection will be deleted. The response is not sent, so the license object on the other end does not work.
When an integrated license object fails, it automatically throws an exception, causing the application to fail and exit at the location where the license is being called.
It took me about two business days to write the server and the License object, so this is a bit of training, but not rocket science.
If you need some sample source or more information, let me know. I will be glad to receive you that I can.
Jerry
source share