设置软件的到期日期 [英] setting expiry date for a software
本文介绍了设置软件的到期日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友
您能帮我找出软件的设置有效期限吗?
应从限定的日期中扣除该天软件运行的每一天.
希望您能帮助我
Dear friend
could you please help me to findout setting expiry date for a software.
when each day when the software run that day should be deducted from the limited days.
hope u will help me
推荐答案
您可能想在CP中阅读本文.
应用程序试用版 [
You may want to read this article in CP.
Application Trial Maker[^]
您可以存储加密的安装日期,并使用LicenseManager类实施验证逻辑.
http://msdn.microsoft.com/en-us/library/system.componentmodel. licensemanager.aspx [ ^ ]
License Manager类提供了实现许可证逻辑的模板.
或者,您可以使用Walterhevedeich告知的现成解决方案.
You can store the encrypted installed date and use the LicenseManager class to implement the validating logic.
http://msdn.microsoft.com/en-us/library/system.componentmodel.licensemanager.aspx[^]
License Manager class provides a template to implement license logic.
Or you can use the ready made solutions available as Walterhevedeich informed.
这篇关于设置软件的到期日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文