如何创建CD Key硬件密钥并在安装时将其嵌入可执行文件中 [英] How to create CD Key hardware key and hwo to embed that in Executable file in install time
本文介绍了如何创建CD Key硬件密钥并在安装时将其嵌入可执行文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,专家,我想捕获硬盘和处理器序列号.对其应用一些算法并生成一个新的加密ID.此外,我想将此ID嵌入到已安装的exe中.这样它每次运行时都会检查相同的硬件.
任何人都可以通过任何示例来说明这一点.
我正在使用VS2005,并且我的项目在Vb.Net上. >先谢谢了.
Jay Khatri
Hi Experts,
I would like to capture Harddisk and processor serial No. apply some algorithm over it and generate a new encrypted ID. Further I like to embed this ID to the installed exe. So that it check everytime the same hardware when it run.
Can anyone tell this by any example.
I am using VS2005 and my project is on Vb.Net.
Thanks in advance.
Jay Khatri
推荐答案
您可以同时使用WMI,例如,此 ^ ],序列号可能在某处.
类似,加密代码是容易找到-如果您在CP上查看,您会找到大部分所需的信息,包括构建密钥,查找Jeffrey Walton for-instance的文章
我们一般不会向人们提供代码-您拥有自己进行研究/完成工作-一旦遇到特定代码困难,您可以在这里询问.
''g''
you could use WMI for both, or for example, this get Physical HDD serial number without WMI[^] for the disk, serial number is likely out there somewhere.
Similarly, encryption code is easy to find - if you look here on CP you''ll find most of what you need including building keys, look for articles by Jeffrey Walton for-instance
We dont in general supply code to people - you have to do the research/grunt work yourself - once you have difficulties with a particular piece of code you can ask back here.
''g''
这篇关于如何创建CD Key硬件密钥并在安装时将其嵌入可执行文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文