使用唯一的产品密钥创建设置,以便只能在c#windows应用程序中的单台机器上安装。 [英] Create setup with unique product key so that it can be install only on single machine in c# windows application.

查看:97
本文介绍了使用唯一的产品密钥创建设置,以便只能在c#windows应用程序中的单台机器上安装。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用唯一的产品密钥创建设置,以便只能在单台机器上安装..当我们输入产品密钥时,用户可以看到它,因此用户可以复制该密钥并再次安装相同的设置..但我不会我想要这个

Create setup with unique product key so that it can be install only on single machine ..When we entered product key then it is visible to user so user can copy that key and install same setup again..but i don''t want this

推荐答案

我通过MS搜索并找到这个 [ ^ ],从你的阅读中你会发现这些日子并不容易。 :)



我将不得不自己征服这个以及生物识别扫描解决方案。我不期待找到并安装或编写图书馆。



如果您遇到一个好的安装工具,请告诉我!不幸的是,我没有提供任何东西,只是说VS插件在我对它的有限探索中证明是麻烦的。
I hunted through MS and found this[^], from your reading you will find it is no easy task these days. :)

I will have to conquer this soon on my own as well for a biometric scanning solution. I am NOT looking forward to finding and installer or writing a library.

Let me know if you come across a good install tool! I, unfortunately, have none to offer up except to say that the VS add-in has proven cumbersome in my limited exploration of it.


如何:.NET中的组件许可 [ ^ ]



在Windows中执行此操作的唯一方法是使用双向激活系统。我使用WooCommerce来跟踪产品密钥的激活。在带有软件附加组件的WooCommerce中,该人购买了许可证,他们获得了一定数量的激活。达到激活限制后,不能再次安装。



Windows没有任何真正独特的数字。甚至硬盘驱动器和网络接口卡的序列号也可以复制。并非所有处理器都返回ProcessorID等。我找到的最独特和最可靠的数字是安装日期,这是安装Windows时的32位整数(到第二个),但如果他们使用克隆软件或复制虚拟机,然后即使这不是唯一的。



我写了一个非常可靠的程序,可以检测你是否在虚拟机内运行进程,我可以发布代码,如果这有帮助,但使用一个限制在一台计算机上的全局号码只是不起作用。您需要生成某种硬件ID,将其传输到您的服务器(甚至是电子邮件),然后生成将该许可证绑定到该特定计算机的许可证代码或激活码。
How To: Component Licensing in .NET[^]

The ONLY way to do this in Windows is with a two-way activation system. I use WooCommerce to track activations of a product key. In WooCommerce with the Software add-on, the person purchases the license, they get a certain number of activations. After they reach the activation limit, it can''t be installed again.

Windows doesn''t have any truely unique numbers to it. Even hard drive and network interface cards serial numbers can be duplicated. Not all processors return the ProcessorID, etc. The most unique and reliable number that I''ve found is the installation date, which is a 32-bit integer of when Windows was installed (to the second), but if they use cloning software or copy a Virtual Machine then even that isn''t unique.

I''ve written a pretty reliable program that can detect if you are running the process inside a virtual machine, I can post the code if that helps, but using a global number to limit to one computer just won''t work. You need to generate some kind of hardware ID, transmit that to your server (or even email), and then generate the license code or activation code that binds that license to that specific computer.


这篇关于使用唯一的产品密钥创建设置,以便只能在c#windows应用程序中的单台机器上安装。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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