生成产品激活序列号 [英] Generating a serial number for product activation

查看:247
本文介绍了生成产品激活序列号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,这不是关于产生用于其他产品的一个序列号的问题。我的不可以寻找黑客等系列产品。

First and foremost, this is not a question about generating a serial number for other products. I am not looking to "hack" other products.

下面是我的要求:


  • 我想生成一个标准的看编号:AILU7-ABCDE-54321-1234-AFCK-17UDF

  • 我需要一些过程,验证该序列号是否为有效 - 这部分确实的不可以必须是极其复杂的。也就是说,如果所有的数字总结为大于X的值 - 我会好起来的这一说法,但如果有解决方案,在那里,处理这种复杂性对我来说,我会很高兴的使用它

  • 的验证序列号的不可以是服务器端的过程。也就是说,我不能让一个请求到外部Web服务器来验证序列号是否有效。

  • 我需要一些方法来从序列号中拉出来的元数据。也就是说,以后我已经验证该序列号是否正确,我需要能够从中读出一些值:用户数限制,有效期限等...

  • 序列号的验证将通过ASP.NET MVC 3应用程序来完成。序列号的生成确实的不可以已做这样虽然。

  • I would like to generate a standard looking serial number: AILU7-ABCDE-54321-1234-AFCK-17UDF
  • I need some process that validates whether or not that serial number is "valid" - This portion does not have to be extremely complex. ie, if all the numbers sum up to a value greater than X - I'd be okay with that, but if there are solutions out there that handle this complexity for me, I'd be happy to use them.
  • The process that validates the serial number can not be server side. ie, I can not make a request out to an external web server to verify that the serial number is valid.
  • I need some way to pull out metadata from the serial number. ie, after I have validated that the serial number is correct, i need to be able to read out some values from it: "user limit", "expiration date", etc ...
  • The verification of the serial number will be done via a ASP.NET MVC 3 application. The generation of the serial number does not have to be done that way though.

我不是在寻找的银弹,将完成所有这些要求,但多多少少有些文档链接或现有的库,这将有助于我上手。我所见过的唯一库是 XHEO DeployLX 库;这仅仅是完全太多我的需求。

I'm not looking for a silver bullet that will accomplish all these requirements, but more or less some links to documentation or existing libraries that will help me get started. The only library that I have seen is the XHEO DeployLX library; which is just entirely too much for my needs.

能否请您给我提供了可以点我在正确的方向的任何信息?

Could you please provide me with any information that could point me in the right direction?

推荐答案

你检查出<一个href=\"http://www.brandonstaggs.com/2007/07/26/implementing-a-partial-serial-number-verification-system-in-delphi/\">Brandon在此斯塔格斯文章非常的事?

在Delphi中,但理论认为,任何一种语言。

In Delp but theory holds whatever language.

这篇关于生成产品激活序列号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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