Windows应用程序的许可功能 [英] licensing functionality for the windows application

查看:108
本文介绍了Windows应用程序的许可功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的问题是:-

我想创建一个安装文件,可以在其中安装Windows应用程序.
在安装过程中,我只想在安装文件中为应用程序添加许可功能,但是安装文件在其他系统中不起作用.

我该怎么做....

Hi,

what is my question is:-

I want to create a setup file in which i can install windows applications.
and during installation i want to add licensing functionality for the application in the setup file only, but the setup file should not work in other system.

How can i do this....

推荐答案

通过编写代码.认真地说,如果我们告诉您一种方法可以做到这一点,那么每个人都会知道如何破解它,对吗?
By writing code. Seriously, if we told you the ONE way to do this, then EVERYONE would know how to crack it, right ?


也许您可以这样做:

为此,您将需要2个应用程序/系统:
1. Windows应用程序-您的主要产品.它应该能够连接并传递PC的唯一标识符(可能是硬盘序列号)和内置的产品密钥到Web应用程序以激活产品.
3. Web应用程序/Web服务-这将是您的主要产品将连接到该应用程序以激活产品的应用程序.这样可以确保只有1:1产品密钥/PC唯一标识符.

基本上,您需要设计应用程序的设置以连接到Web应用程序以进行激活.假设您的Web应用程序保存了产品密钥的记录,并且它们已经被使用,并且您在单击Windows应用程序上的激活"按钮时已经传递了信息,那么您的Web应用程序将能够验证是否您正在尝试将具有相同产品密钥的应用程序安装到另一台PC.当然,这不能解决可能发生的许多可能性,例如,如果密钥被破解等等.但是,我相信这是最简单的入门方法.
Perhaps you can do it this way:

You will need 2 applications/system for this:
1. Windows Application - Your main product. It should be able to connect and pass a unique identifier of your PC(hard disk serial number, perhaps) and a built in product key to your web app for product activation.
3. Web App/Web Service - This will be the app where your main product will connect to for product activation. This will ensure that there will be only 1:1 product key/PC unique identifier.

Basically, you need to design the setup of your app to connect to your web application for activation. Given that your web app holds the records of the product keys and if they were already in use, and given the fact that you have passed the information when you clicked the activate button on your windows app, your web app will be able to validate if you are attempting to install the app with the same product key to a different PC. Of course, this does not answer many possibilities that can happen like, what if the key was cracked, etc. However, I believe this is the simplest way to get you started.


这篇关于Windows应用程序的许可功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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