c#程序设定使用期限,如何在C#中设置软件的到期时间

c#程序设定使用期限,如何在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/p>

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

相关资源:Ztrans丹诚软件Z39.50客户端-其它工具类资源-CSDN文库

来源:丹丹丹3

声明:本站部分文章及图片转载于互联网,内容版权归原作者所有,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2020年11月19日
下一篇 2020年11月19日

相关推荐