如何完全保护或锁定dll文件。我们知道我们可以在免费的工具oline的帮助下轻松地反汇编dll和exe文件。请帮帮我。谢谢
How to secure or lock dll files completely.As we know we can easily disassemble dll and exe files with the help of free available tools oline. Please help me.Thanks
推荐答案
你不能。 .NET代码总是可以反编译。如果你想阻止简单的反编译,那么有几个选项。
You can't. .NET code can always be decompiled. If you want to prevent easy decompilation then there are a couple of options.
1)混淆 - 试图让代码更难理解,但仍然可以很容易地反编译。在我看来,这不值得付出努力。
1) Obfuscating - tries to make the code harder to understand but can still be easily decompiled. Not worth the effort in my opinion.
2)本机 - 使用本机代码,如C ++或.NET本机代码。仍然可以反编译但会获得汇编语言。但是有一些工具可以采用汇编语言并转换为原始代码的外观。
2) Native - use native code like C++ or perhaps .NET native. Can still decompile but will get assembly language. But there are tools that can take assembly language and convert to a semblance of the original code.
更多推荐
关于dll安全性
发布评论