.NET复制保护 [英] .NET copy protection

查看:98
本文介绍了.NET复制保护的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将.NET可执行文件以某种方式限制到特定计算机,以便只能在该计算机上运行。

Is it possible to restrict a .NET executable to a specific machine somehow so that it can only be run on that machine.

推荐答案

是的,我在我的应用程序中做到了。

Yes, and I do that in my apps. It works wonderfully.

使用WMI轻松获取系统信息(CPUID,MacID,HDD详细信息)(强烈建议)。

Getting the system info (CPUID, MacID, HDD details) is easy using WMI (highly recommended).

我创建了一个几乎万无一失的系统(除非您是专业黑客)。

I created a system that's practically foolproof (unless you're a pro hacker).

当我的应用程序首次安装在用户PC上时,它们使用Web服务返回我的服务器。他们使用密码哈希来标识自己,并为客户端寻找授权码/订单ID。

When my apps are installed for the first time on the user's PC, they go back to my server using web services. They identify themselves using a password hash and look for an authorisation code/order id for the client.

如果客户端具有正确的授权代码,则应用程序将加密系统详细信息并将其存储在客户端计算机上,并将信息的哈希值发送到存储该信息的我的服务器。然后使用一些哈希标记在客户端计算机上激活该软件,并且每次运行该应用程序时,系统信息都会与文件中的哈希信息进行比较。

If the client has the correct authorisation code the application encrypts and stores the system details on the client's computer and sends a hash of the info to my server where it is stored. The software is then activated on the client's computer using some hashed flags and every time the app is run the system info is compared with the hashed info in the files.

客户重新格式化计算机后,他所需要的只是订单ID,以再次自动激活软件(程序与我的服务器核对时,系统详细信息将得到验证和批准,如果它们匹配)。如果客户在另一台计算机上安装软件,则必须与我的支持团队联系以获取批准。

If the client re-formats the computer, all he needs is the order id to activate the software again automatically (when the program checks with my server, the system details are verified and approved if they match). If the client installs the software on another machine he must contact my support team to get approval.

-所有信息都经过加密和哈希处理(双重加密)。
-混淆并打包了所有代码。

-- All the information is encrypted and hashed (double encryption). -- All code is obfuscated and packed.

目前,它的运行非常安全。

It's working pretty securely at the moment.

所以是的,有可能,它已经过现场测试,并能像其他保护系统一样工作。

So yes, it's possible, it's been field tested and found working as well as any other protection system.

这篇关于.NET复制保护的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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