Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Thought of a new idea for program detection.
I have to dig up the code, but there is a way to get a specific ID for the computer being used. I could code in a check to ID the computer and store it along with a count of how many times the ID changes. If it changes more than 2 or three times, I could probably figure the program had gone beyond it's allowed borders and maybe do one of the following:
1. Do a slow file corruption
2. Erase itself completely after overwriting it
3. Change some code to run differently but still work
Could a program be coded so that if a block of code didn't run in a specified amount of time, something else could be branched to.
Like if it was being traced.