I have developed software and am trying to protect it from being copied from one machine to another by writing all of the machine MAC addresses to a text file in the root apps folder for the program on the first run of the app. Everytime the app is run thereafter it checks to see if the text file is there and compares data in the text file to the mac addresses on the computer it is being run on. If they are differant the program fails to run.
If someone tried to just copy the directory they would also copy the text file and when they tried to run the app on another computer it would fail.
It is not a problem to write something to the virtual store but the program can then be copied and run on a unauthorized machine.
I need to write one text file one time.
Thanks, Myles