Obfuscate Assembly and Reflection

前端 未结 4 2058
抹茶落季
抹茶落季 2021-02-15 23:55

I want to obfuscate my assembly files (*.dll, *.exe) by Dotfuscator. my question is if I do this, can I still use classes and types that are in those assemblies

4条回答
  •  不要未来只要你来
    2021-02-16 00:35

    Read for example here http://msdn.microsoft.com/en-us/library/ms227298(v=vs.80).aspx There is a "library mode" to disable obfuscation of public members. Otherwhise you probably won't be able to access the methods. There is an attribute to control obfuscation at type level: http://msdn.microsoft.com/en-us/library/ms227281(v=vs.80).aspx

提交回复
热议问题