Click here to Skip to main content
Rate this: bad
good
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 20:59pm
Edited 12-Oct-12 21:36pm
v2
Comments
OriginalGriff at 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
0 Sergey Alexandrovich Kryukov 410
1 Maciej Los 280
2 OriginalGriff 248
3 CHill60 186
4 Sinisa Hajnal 145


Advertise | Privacy | Mobile
Web03 | 2.8.141022.2 | Last Updated 13 Oct 2012
Copyright © CodeProject, 1999-2014
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