例如,在 Eazfuscator.Net 中,您可以使用
[assembly: Obfuscation(Feature = "encrypt symbol names with password XPASSWORD", Exclude = false)]
但我想知道如何使用 ConfuserEx 做到这一点(无论它是否包含代码或应用程序 gui 本身)。
例如,在 Eazfuscator.Net 中,您可以使用
[assembly: Obfuscation(Feature = "encrypt symbol names with password XPASSWORD", Exclude = false)]
但我想知道如何使用 ConfuserEx 做到这一点(无论它是否包含代码或应用程序 gui 本身)。
答案在 ConfuserEx Wiki名称保护中
例子:
<protection id="rename">
<argument name="mode" value="reversible" />
<argument name="password" value="This password is secret" />
<argument name="renameArgs" value="true" />
<argument name="renEnum" value="true" />
<argument name="flatten" value="true" />
<argument name="forceRen" value="false" />
<argument name="renPublic" value="false" />
<argument name="renPdb" value="true" />
<argument name="renXaml" value="true" />
</protection>
重要的部分是mode
as reversible
,password
不需要解释。所有这些都在 .crproj 文件中。
但是,如果您想在类中使用直接混淆声明,请使用声明性混淆