gpt4 book ai didi

c# - 我们可以在对象浏览器中使 DotfuscatorAttribute 不可见吗

转载 作者:行者123 更新时间:2023-11-30 17:28:06 24 4
gpt4 key购买 nike

我们正在使用 Visual Studio 2015 开发 .NET DLL。我们想使用 Dotfuscator Proffesional Edition 4.31.0 进行 dotfuscation。在 dotfuscation 之后,我们看到在 Visual Studio 2015 的对象浏览器中可见的 DotfuscatorAttribute。有没有办法在对象浏览器中隐藏 DotfuscatorAttribute?下面是截图

dotfuscatorattribute in object browser

最佳答案

TL;DR:在配置文件中使用 nodotfuscatorattribute 全局选项。

参见 the manual :

NoDotfuscatorAttribute Option

Dotfuscator, by default, inserts a custom attribute into your application named DotfuscatorAttribute. The attribute contains information about the Dotfuscator version used to obfuscate the program, including product ID (Community vs. Professional) and version numbers. The purpose is threefold:

  • To identify which Dotfuscator version was used on a program.
  • Future Dotfuscator versions will use this information to identify already obfuscated third-party assemblies used as inputs, as special treatment may be required in these cases.
  • PreEmptive Solutions is actively working with other tool vendors to ease the pain of debugging obfuscated code; the attribute helps those tools know what they are dealing with.

If these things are not as important to you as the increased security of an anonymously obfuscated program, or if size reduction is a higher priority, then you can disable insertion of the attribute by manually setting an option in the config file, called nodotfuscatorattribute.

NoDotfuscatorAttribute Option:

<global>
<option>nodotfuscatorattribute</option>
</global>

关于c# - 我们可以在对象浏览器中使 DotfuscatorAttribute 不可见吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53556350/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com