Software evaluation - licence [closed]

匆匆过客 提交于 2019-12-07 13:36:54

问题


Can any one help me on software licence module. We created a new application and want to release a demo version(30 days trial) of our tool later we need full version. How can i generate license file or license code and how to limit 30 days evaluation. Please give me some help on this.

Our application is developed on windows in QT


回答1:


There could be several possibilities:

  • Timestamp and encrypt the date of installation somewhere safe(registry or an external encrypted file)
  • Upon each run, validate the registry date as well as the system date.
  • User may tamper with system date/time; so you may would want to validate the system date/time wrt previous run date/time, and plan you app's actions accordingly.
  • Show the app-dormant error message upon currentDate - installationDate > 30, and provide a link to your online registration page.

You may also require to:

  • Develop a keygen(key encryptor) that would generate(a hash out of a certain key) the serial key.
  • Add the key decrytor in your product that, upon getting the key from user input, would try to generate the same(hash?) key and compare that hash with your decryptor algo.

Checkout this and this that uses SerialNumberTemplate to get serial number during installation.

--EDIT--

You can note the time either from:

  • The date of installation: Create a Custom Action in your visual studio setup project; and add registry item in Install override method.
  • The date from first-run: Use DateTime.Now.Date to get the current date and encrypt/save it somewhere, probably registry.



回答2:


Although I don't see the connection to patents it's as easy as that:

  • Save the installation time
  • at any startup check whether 30 days are reached
  • provide a mechanism to unlock the software eith a license key


来源:https://stackoverflow.com/questions/2491609/software-evaluation-licence

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!