如何为我们的软件应用程序和每个特定系统制作许可证文件 [英] How to make licence file for our software application, and for each particular system

查看:236
本文介绍了如何为我们的软件应用程序和每个特定系统制作许可证文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



如何为我们的软件应用程序以及使用c#.net的每个特定系统制作许可证文件?



许可证文件应在30天或一年后过期,请帮助我。



先谢谢。



Ankit Agarwal

软件工程师

Hello,

How to make licence file for our software application, and for each particular system using c# .net?

Licence file should be expire on after 30 days or one year, Please help me.

Thanks in Advance.

Ankit Agarwal
Software Engineer

推荐答案

创建一个以bios序列号作为输入的应用程序。编码并创建一个许可文件,其中包含有效期限。



启动时的软件应定期检查时间服务器以检查到期时间。您无法信任系统时间,因为用户可以对其进行修改。但是这需要互联网连接。



在系统级别,你可以添加很少的验证,如



1系统日期不应小于任何时间点的许可证文件日期。

2.每次登录时更新上次访问的日期字段并每次都增加。

您可以检查此日期是否小于上一个上次访问日期。如果yoiur登录时间小于上次访问日期,则表示系统时间已更改。
Create an application which takes the bios serial number as input. Encode and create a license file with expiry date also mentioned in it.

Your software while starting up should check with a time server on regular basis to check the expiry time. You cant trust the system time as users can modify it. But this requires an internet connection.

In system level also few validations you can add like

1. The system date should not be less than the license file date at any point of time.
2. Every time when you log in update a last accessed date field and increase it everytime.
You can check if this date is less than the previous last accessed date. If yoiur login time is less than your last accessed date, this means the system time is changed.


[ ^ ]


这篇关于如何为我们的软件应用程序和每个特定系统制作许可证文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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