Keygen和Checker? [英] Keygen and Checker ?

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

问题描述

b我想实现一个密钥生成器,并将每个密钥打印在cd上,然后在软件上输入它以激活它.生成的一组密钥有什么共同点可以验证,我的意思是XXXX-XXXX-XXXX为true,而YYYY-YYYY-YYYY为true,但是如何拖延不同的代码最终才是true. </b>


我真正想要的是密钥生成器生成一组对软件都有效的密钥,我的问题不在于生成密钥,而在于如何使所有这些密钥有效.谁能给我一个简单的示例该怎么做?

<b>I would like to implement a key generator and print each key on a cd and then enter it on the software to activate it. What does a set of keys generated have in common to be validated, i mean XXXX-XXXX-XXXX is true and YYYY-YYYY-YYYY is true but how is tow different codes end up true. </b>


What i want exactly is key generator to produce a set of keys that they are all valid to the software, my problem no in generating the keys but in how to make all these keys valid. can anybody give me a simple example how to do that ?

推荐答案

仅使用逻辑.回答您的第一个问题.要验证的密钥的共同点是它们的长度和长度都相同.是相同的类型.要回答最后一个问题...我不会退出,请理解最后一部分的含义,但是如果您要问如何才能使两个代码对同一软件有效,那么这必须意味着该软件具有多个有效代码.您将如何处理这是一个完全不同的故事,因为您可以在代码中执行类似的操作,一种方法是使用if或可能的switch语句来检查有效的键.希望这能给您我的朋友一些见识.
Using logic alone. To answer your first question. What the keys have in common to be validated is their both the same lengths & are the same type. To answer the last question... I don''t quit understand what the last part mean, but if you are asking how you can makes two codes valid for the same software then that must mean that the software have more than one valid code. How you would do that is a whole different story, because one way you can do something like this in code, is to use a if or probably switch statement to check for the keys that are valid. Hope this gave you some insight my friend.


这篇关于Keygen和Checker?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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