I am new to c #. After I create an EXE object, can it be reversed to get the original code?
Thank you.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Akkiraju IvaturiRank #473 · 5.3K reputationPosted Sep 22, 2012, 8:44 PM EDT
Reflector and its add-in FileDisassembler.
Reflector will allow to see the source code. FileDisassembler will allow you to convert it into a VS solution.
You may follow the below link:
http://malakablog.wordpress.com/2008/07/31/retrieve-c-code-out-of-exe-assembly/
If you do not have the Reflector available as it was not free you can look below link:
http://www.telerik.com/products/decompiler.aspx
VulpesRank #55 · 29.2K reputationPosted Sep 23, 2012, 5:48 AM EDT
The former are removed altogether by the compilation process and the latter are replaced by numbered storage locations.
Frankie Yu23 reputationPosted Sep 23, 2012, 5:52 AM EDT
Thanks.
VulpesRank #55 · 29.2K reputationPosted Sep 23, 2012, 6:04 AM EDT
You can obfuscate the .NET code but even this can be disassembled by a determined hacker. There are even hacker tools which target particular obfuscators. Check out:
http://jcooney.net/post/2010/06/06/The-sad-(but-inevitable)-state-of-NET-Obfuscation.aspx
Java is no better in this respect and, whilst unmanaged languages such as C or C++ are much harder to disassemble, they're certainly not immune.
Frankie Yu23 reputationPosted Sep 23, 2012, 7:48 AM EDT
Thanks.