Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Teams...

How to set the Expire Period of dot net dll/assembly .It work 15 days form the date of Setup and Instal the Application after that it will not work.Like trial period of a product.I Don't Have any Ideals if any body have any Lin url/ ideal/Advice plese tell me.

How/Where to set the expire date .How to take the Sys Date,Sys Unique Identyfire.where to write the code.Whate name space/Class requre.please describe the login.

Thank's

Prasanta Kumar Pradhan

http://globaltouch.in
Posted

You can store the encrypted expiry date in the registry at the time of setup. And at the runtime you can check the expiration period.

Or you can have a encrypted licence file along with your dll at the root directory. If somebody using the trial version you can use the 15 days trial licence file which contains the expiration date in the encrypted format.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900