如何开发许可证制作应用程序,可以在c#.net windows应用程序中输入其他应用程序的时间段? [英] how to develop licence making application, which can be enter time period for other application in c# .net windows application?

查看:71
本文介绍了如何开发许可证制作应用程序,可以在c#.net windows应用程序中输入其他应用程序的时间段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



如何开发许可证制作应用程序,可以在c#.net windows应用程序中输入其他应用程序的时间段?



请帮帮我。



先谢谢。



Ankit Agarwal

软件工程师

Hello,

how to develop licence making application, which can be enter time period for other application in c# .net windows application?

Please help me.

Thanks in Advance.

Ankit Agarwal
Software Engineer

推荐答案

试试这个,



它的位几个月前我尝试过的逻辑,我的一个Windows项目。当安装到客户端系统的应用程序(exe)将日期保存到具有唯一名称的regedit(注册表)时。每天(日期)需要与注册日期进行比较。



注意:用户可能会更改系统日期。因此在regedit中存储两列,如安装日期和未来过期日期。所以在这里你需要检查所有这三个日期。 (安装日期,未来过期日期,今天日期)。在regedit中保持标志,在你给该软件的密钥后它将继续有用。我希望你能在这里得到更好的解释。
Try this,

Its bit logical which i tried few months back as like this to one of my windows project. When the application (exe) getting installed into the client system save the date into the regedit (registry) with unique name. Every day (date) needs to compare with regedit date.

Note : User may change system date. so in regedit store two columns like installed date and future expired date. So here you need to check all those three dates. (installed date, future expired date, today date). Maintain flag inthe regedit, it will help to continue after you given key to that software. i hope you got better explain here.


这篇关于如何开发许可证制作应用程序,可以在c#.net windows应用程序中输入其他应用程序的时间段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆