I made a small small program that I want to deliver to my client so that he can run it 5 times to test its functionality. This is not a big software, for which I implement some functions of the serial key and create trial software.
I want a simple solution that can limit the use of the program by more than 5 times or can delete itself after the threshold limit.
One solution appeared in my mind. I make 4 .txt files through the same program and save them in diff. locations on the client computer, and these files will be stored the number of times the program was launched. Each time the application starts, it checks all of these files, and if any file contains a number representing the threshold limit, it simply exits, saying that the threshold limit has been reached.
Is there an even better solution, but simple, to limit the client to use different times?
It would be even better if the program is removed after the threshold limit.
source
share