Is it possible to limit the executable file by the number of launches without linking it to a specific machine, as well as without additional files?
For example, the lifetime of our program 3 starts, a certain Ivan launched this program twice on his new laptop, then threw the executable file on the flash drive and ran it on his old computer once. On the fourth launch, Ivan will be shown a message stating that his file has exhausted the launch limit and will no longer work.
The only solution that occurred to me is the storage in each program of a unique key that will be transmitted to the server, which in turn will record the program launches. Of course, such a method would require an Internet connection, which may not always be convenient. And what ways to create such a "protection" you can offer?