如何在.EXE文件的部署设置中检查许可证密钥 [英] how to check the license key in the deployment setup of .EXE file

查看:103
本文介绍了如何在.EXE文件的部署设置中检查许可证密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在部署设置中检查许可证密钥.何时将密钥验证软件合法副本.如何在项目部署设置中添加表单以验证序列密钥.

how to check the license key in the deployment setup .when key will be verify the software legal copy or not.How to add the form in project deployment setup for verifying the serial key.

推荐答案

包括序列号/产品输入部署设置 [
Including Serial/Product key in Deployment Setup[^]the similar discussion is carried out here.

Hope this will help you to solve your problem.


许可证密钥生成 [ ^ ]
http://stackoverflow.com/questions/453030/how-can-i-create-a-product-key-for-my-c-app [ http://msdn.microsoft.com/en-us/library/k3bb4tfd%28v = VS.100%29.aspx [ ^ ]
License Key Generation[^]
http://stackoverflow.com/questions/453030/how-can-i-create-a-product-key-for-my-c-app[^]
http://msdn.microsoft.com/en-us/library/k3bb4tfd%28v=VS.100%29.aspx[^]


检查安装中的许可证不是很重要,您需要在启动时进行检查.有多种方法可以在不运行正式安装程序的情况下在计算机上获取软件,尤其是使用.Net应用程序时.

似乎没有直接的方法将其包含在MSI中.我要做的是创建一个自定义安装EXE,其中包含MSI作为资源,并使用正确的密钥进行了加密,当系统要求您输入密钥时,它将对MSI进行解密,以及是否可以将其验证为有效(检查前几个字节)已激活安装"按钮(用于启动解密的MSI).

当然,一旦有人创建了解密的MSI,复制它就很简单了.这不是安装时间许可证检查的重点.
Checking the licence in installation isn''t that important, you need to check it on startup more so. There are ways to get software on a machine without running the formal installer, particularly with .Net apps.

There doesn''t appear to be a straightforward way of including it in an MSI. What I''d do is create a custom install EXE, which includes the MSI as a resource, encrypted with the correct key, and when you are asked to enter a key, it decrypts the MSI and if it can be verified as valid (checking the first few bytes) the ''Install'' button (which launches the decrypted MSI) is activated.

Of course it is trivial for someone to take a copy of the decrypted MSI once they have created it. That''s not the point of install time license checks.


这篇关于如何在.EXE文件的部署设置中检查许可证密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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