17

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

ratty
  • 12,122
  • 29
  • 69
  • 105
user437783
  • 179
  • 1
  • 1
  • 4

2 Answers2

8

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

ratty
  • 12,122
  • 29
  • 69
  • 105
3

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

rkellerm
  • 4,862
  • 7
  • 49
  • 85