CD Key编程方法 [英] CD Key programming methodology

查看:99
本文介绍了CD Key编程方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我写了一份商务申请,但
应用程序需要运行随时间变化的cd键.

客户端没有任何互联网连接.而我
不想在代码中声明一系列字符串(cd键).
该应用程序可能正忙于
一些年.

那么,什么是最好的方法呢?

(我的问题不在于cd键的检查).

Hi all,

I wrote an application for a bussiness, but the
application needs to run with a cd-key that changes montly.

The client does not have any internet connection. And I
dont want to have a range of strings(cd-keys) declared in the code.
The application might be running at the bussiness for
a few years.

So, what would be the best approach?

(My problem is not with the checking of the cd-key)

推荐答案

可以将cd键链接到日期,但是用户可以总是将日期设置在每个月底...

所以这是一个主意-将日期/时间记录到文件中(加密).
在启动时,请检查此文件以确保日期在增加,时间也在增加-如果文件中包含的日期/时间倒退了,请锁定软件!
It is possible to get the cd key to be linked to the date - however the user could always set the date back at the end of each month...

So here''s an idea - log the date/time to a file(encrypted).
On startup check this file to ensure that the date has been incrementing and that the time has been incrementing as well - if the file contains dates/times going back in time lock the software!


这篇关于CD Key编程方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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