I have a C# program and i want to decompile it, i used [ILSpy & NetReflector] and everything worked fine the program was decompiled but the source was encrypted or protected in a way because all the .cs file doesn't content the exact code that i want. I tried the decompiling on other programs and the results was nice but only this file. and this is a picture for the encrypted .cs files
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The code you're trying to look at has been compiled with an obfuscator to discourage people from decompiling it. The obfuscator re-arranges and renames things in the code in such a way that the computer can still run them, but they're harder for a human to understand.
One of the steps in obfuscation is swapping all the nice human-readable variable and class and method names with jumbles of random characters. That's why your decompiled files have a crazy mixture of Chinese, Korean, Greek, Hindi etc letters in them. That step is irreversible, because they're not encrypted, they're just replaced with nonsense.