隐藏的已编译的应用程序文件(.exe,.dll文件)中的内容。 C#代码 [英] Hiding the contents of your compiled Applications (.exe, .dll). C# code

查看:243
本文介绍了隐藏的已编译的应用程序文件(.exe,.dll文件)中的内容。 C#代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好了,大家都知道,你可以反编译C#(DLL)组件,以找到他们的内部规定哪些代码。什么我不知道,我怎么可以隐藏代码

Well, as we all know, you can decompile C# (dll) assemblies to find what code lays inside of them. What I do not know, is how i can hide that code.

问题:我想释放一些dll的将应用程序添加额外的功能,但我这就是所有我希望他们的用途。添加功能的应用程序。我不希望别人知道它背后的真正源代码。

The issue: I'd like to release some dll's that will add extra functionality to applications, but i thats all i want them to be used for. adding functionality to applications. I dont want others knowing the real source code behind it.

让我知道,如果它能够做到这一点。谢谢!

Let me know if its possible to do that. Thanks!

推荐答案

这是理论上不可能达到100%的保护,除非你控制的目标硬件。如果CPU能够执行它,给予足够的时间和知识,一个人可以读取它。这甚至不是仅限于C#(尽管它通常是容易的在托管语言一样)。您可以使用像Dotfuscator或XenoCode混淆器,使它更难理解的反编译代码。如果你真的关心,就应该移动到一个基于服务器的应用程序。

It's theoretically impossible to achieve 100% protection unless you control the target hardware. If the CPU is able to execute it, given enough time and knowledge, a human being can read it too. This is not even limited to C# (although it's usually easier to do in managed languages). You can use an obfuscator like Dotfuscator or XenoCode to make it harder to understand the decompiled code. If you're really concerned, you should move to a server-based application.

这篇关于隐藏的已编译的应用程序文件(.exe,.dll文件)中的内容。 C#代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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