如何从被拆卸避免.NET的DLL文件? [英] How to avoid .NET DLL files from being disassembled?

查看:148
本文介绍了如何从被拆卸避免.NET的DLL文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写实施许可我们的产品在.NET应用程序(一个Windows类库)。

I am writing a .NET application (a Windows class library) for implementing the licensing our product.

现在的问题是,该DLL可以被容易地拆卸MSIL反汇编程序或任何其他第三方工具,人们可以很容易地破解密码。

The problem is that the DLL can be easily disassembled by the MSIL disassembler or any other third-party tools and one can easily break the code.

我甚至试图签署组装,但仍可以被拆卸。

I have even tried signing the assembly, but still it can be disassembled.

那么,如何避免这种情况?

So how do I prevent this?

是否有任何工具可用于此?

Is there any tool to available for this?

推荐答案

检查出的这个问题。结果
你不能达到完全的保护,但你可以的方式,使其更难以让人们在它成功的阻碍拆卸。有更多的方式来做到这一点,他们中的一些在问题的答案在我的链接上面详细说明:

Check out the answers for this question.
You cannot achieve complete protection, but you can hinder disassembly in ways that make it more difficult for people to succeed at it. There are more ways to do this, some of them detailed in the answers to the question in my link above:


  • 混淆您的代码

  • 使用公钥/私钥或对称加密生成产品许可证密钥。

  • 使用封隔器收拾你的.NET可执行文件为加密W32的包装应用

我想补充将是增量更新,无论是对你的核心功能和保护代码,所以你的用户将不断受益同时使饼干的新功能落后你身后打破你的软件。如果你能释放的速度比他们可以打破和分发软件,你在增益。合法用户,将始终有技术支持和对新功能的一句话也说不出来。他们是你最好的市场,因为谁破解软件的那些本来不会祈祷,为它。

What I would add would be incremental updating, both for your core functionality and the protection code, so your users will constantly benefit from the new features while making crackers lag behind you in breaking your software. If you can release faster than they can break and distribute your software, you are in gain. Legitimate users will always have technical support and a word to say regarding new features. They are your best market, as the ones who crack your software wouldn't have payed for it anyway.

这篇关于如何从被拆卸避免.NET的DLL文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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