如何使c#windows表单应用程序有效期为30天...... [英] how to make c# windows form application valid for 30 days...

查看:76
本文介绍了如何使c#windows表单应用程序有效期为30天......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

30天跟踪应用程序代码... 30天后表单应重定向到注册表单...

30 days trail application code... after 30days the form should redirect to register form...

推荐答案

Quote:

您可以执行WMI查询以获取主NIC卡的MAC地址,并将其用作存储在数据库中的唯一标识符。您不需要用户注册,只需在应用程序首次启动时注册,使用NIC地址和到期日期更新数据库。检查每次后续发布的日期,一旦到达该日期,请禁用您的程序。除非他们更换网卡,否则用户将无法卸载/重新安装以绕过您的保护方案。我不会存储任何类似用户名或任何感觉甚至远程个人识别的内容。

You could do a WMI query to get the MAC address of the primary NIC card and use that as your unique identifier that is stored in the database. You wouldn't need the user to register either, just on the appliation's first launch, update your database with the NIC address and the expiration date. Check the date on every subsequent launch and once you reach that date, disable your program. The user wont be able to uninstal/reinstall to get around your protection scheme, unless they change network cards. I wouldn't store anything like usernames or anything that feels even remotely personally identifiable.



请查看以下链接以获取更多信息: 如何实施30天试用期



另一个链接: 如何让我的申请有30天的试用期


这篇关于如何使c#windows表单应用程序有效期为30天......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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