命名空间、类名和事件处理程序混淆
我有一个 .NET 应用程序。当我混淆程序集时,命名空间、类名和应用程序事件处理程序(如按钮单击事件处理程序)不会被混淆。我已经尝试过两种不同的混淆产品,但看起来行为相同。命名空间、类名和应用程序事件处理程序不混淆是正常的吗?
I have a .NET application. When I obfuscated the assembly, namespace, class name and application event handlers ( like a button click event handler) does not get obfuscated. I have tried it with 2 different obfuscation productions but it seem like same behaviour. Is it normal to not obfuscated namespaces, class names and application event handlers?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常,公共/受保护成员不会被混淆,因为它们有可能被外部应用程序引用 - 这里似乎就是这种情况(假设事件处理程序是受保护范围)。因此,一般来说,Obfuscator 工具提供了混淆它们的选项 - 检查工具文档 - 例如,Dotfuscator Community Edition 4.0 有 库模式不会混淆公共/受保护的成员。
Typically, public/protected members are not obfuscated because there is chance that they may get referenced by external applications - it appears to be case here (assuming that event handler is protected scope). So generally, Obfuscator tool offers option to obfuscate them as well as - check the tool documentation - for example, Dotfuscator Community Edition 4.0 has library mode that will not obfuscate public/protected members.