Decompile without CLI header?
Is it possible to decompile an execut开发者_StackOverflow中文版able that when trying to decompile w/ Reflector, errors out with "Module ... does not contain a CLI header.", and if so, how to decompile this to C#?
Thank you.
That would most likely indicate that it's not a managed assembly. Which means Reflector won't be able to decompile it.
Reflector can only decompile assemblies. The reason for this is that .Net can only load and execute assemblies, not modules. The module must belong to an assembly. Find that, and the module will be loaded.
EDIT: after rereading, it seems to me more likely that you have a non-.Net DLL.
Its most likely obfuscated. Obfuscating .Net exes will cause Reflector to show this message.
精彩评论