如何在c#.net中创建1年的安装程序 [英] How to Create Setup for 1 Year in c#.net
本文介绍了如何在c#.net中创建1年的安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建窗口表单应用程序的设置1年。 1年后密码应更改登录表单。我不知道该怎么做请帮帮我
Hi,
I want to Create Setup of window Form Application for 1 year. After 1 year Password Should be changed of login form . I dont Know How to do Please Help me
推荐答案
在登录方法中添加日期检查操作,根据存储的日期检查当前日期(可能需要加密这个)如果差异大于1yr,则需要一个新的系统密码,我认为这些密码是你从中获得的。提供新密码时,您需要将其存储在本地。
Add a date check operation in the logon method that check the current date against a stored date (probably need to encrypt this) if the difference is greater than 1yr then demand a new system password which I presume they get from you. When a new password is supplied you need to store it locally.
这篇关于如何在c#.net中创建1年的安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文