Click here to Skip to main content
12,697,699 members (27,056 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
I am developed a project in Visual studio 2008 and database sql server 2005.My question is when client install a setup,the project will expire after 1 year.
How i can set this?
Plz help me!
Posted 12-Oct-12 21:59pm
Updated 12-Oct-12 22:36pm
v2
Comments
OriginalGriff 13-Oct-12 3:44am
   
Don't bump your question again - it is rude and unnecessary.
Remember it is a Saturday, which is not a working day in most of the Western world, so traffic here is lighter than usual.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

If you want to make your application to expire you should check this article on CodeProject.

Application Trial Maker[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You can use Registry for this purpose. When the application installs or loads for the first time check for a specific registry Key in computer's registry that you define in your application. If the registry key does not exist, set the value to current date. Every time when your application loads, check for the value of this registry key. If it is less than one year, proceed with the application else display the message to user.

Hope it helps!
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

Hi,

Please see my Answer in below discussion.

Trial Version security problem[^]

Thanks
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 13 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100