有没有一种方法可以防止在反射器之类的软件中打开dll? [英] Is there a way to prevent dll from being opened in a software like reflector?

查看:77
本文介绍了有没有一种方法可以防止在反射器之类的软件中打开dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以防止C#中的特定dll在反射器中打开.我可以打开许多dll,并可以使用反射器获取代码.但是,当尝试打开某些dll时,它会显示一条错误消息,指出特定的dll不包含CLI标头.".

Is there a way to prevent a particular dll in C# being opened in reflector. I can open many of the dll's and can get the code using reflector. But when trying to open some dll's it shows an error message stating that "The particual dll does not contain a CLI header.".

如何制作这样的dll?

How can I make a dll like this??

推荐答案

您确定这些DLL是托管代码dll吗?我不这么认为,如果它们不包含CLI标头,则它们不是用C#编写的.

Are you sure that these DLLs are managed-code-dlls? I don't think so, if they don't contain the CLI header, they aren't written in C#.

对于您的问题,您无法阻止在反编译器中打开托管DLL,您所能做的就是对其进行混淆.

And for your question, you can't prevent a managed-DLL from being opened in a decompiler, all what you can do is to obfuscate it.

这篇关于有没有一种方法可以防止在反射器之类的软件中打开dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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