Incorporating shareware restrictions in C++ software

前端 未结 5 1501
闹比i
闹比i 2021-02-14 01:29

I wish to implement my software on a shareware basis, so that the user is given a maximum trial period of (say) 30 days with which to try out the software. On purchase I intend

5条回答
  •  [愿得一人]
    2021-02-14 02:24

    With regards to a random-generated key, how will you verify a key is legit or if a key is bogus if it is actually random? Have a look at the article "Implementing a Partial Serial Number Verification System" as it is quite good and is easy to implement in any language.

    With regards to time trials, as basic solution would be to compare your main executable files creation time to the current system time and act on the difference. This assumes your installer sets the files creation time to the time of install as opposed to preserving the time you compiled it! :)

提交回复
热议问题