How can I make my application have a 30 day trial period [duplicate]

本秂侑毒 提交于 2019-11-27 05:54:12

问题


This question already has an answer here:

  • Create an application that will expire after a trial period [duplicate] 5 answers

how to create trial period setup file for 30 days of my c# windows application?


回答1:


Making C# application a 30 day trial version

http://www.dotnetspider.com/forum/130150-Making-C-application-day-trial-version.aspx

How to add more functionality in setup file? - C#

http://www.daniweb.com/forums/thread226490.html




回答2:


One possible solution is to use the registry and write there in some key the installation date. This step is done in the installation time/ first time the application is in use. Then periodically check the current date against the installation date.

You can take also these references:

  1. http://www.codeproject.com/KB/cs/Trial_Maker.aspx

  2. http://trial.qarchive.org/

  3. Using .Net built-in classes



来源:https://stackoverflow.com/questions/3625825/how-can-i-make-my-application-have-a-30-day-trial-period

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