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!
解决方案If you want to make your application to expire you should check this article on CodeProject.
Application Trial Maker[^]
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!
Hi,
Please see my Answer in below discussion.
Trial Version security problem[^]
Thanks