Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2004, 05:04 AM
Authorized User
 
Join Date: May 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default c# dll Decompiler

Hello All
I want to Decompile a C#.net dll to get its equivalent .CS files.Does anyone knows a software that can do this for me,of course the free version that does complete reverse engineering.can anyone help me in this matter?

Farhan

 
Old July 20th, 2004, 03:32 AM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try looking for the Salamander decompiler
http://www.remotesoft.com/salamander/

Thanks for reading !
 
Old May 18th, 2007, 05:13 AM
Registered User
 
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Free and perfect :
http://www.aisto.com/roeder/dotnet/

download the first prog "Reflector for .NET".

How to use it :
1. launch it
2. select your .NET version
3. File > Open, select your dll
4. In the node tree, right click on the function you want to see "Disassemble"
5. enjoy ;)

 
Old May 18th, 2007, 10:23 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Also, if you have access to the Visual Studio .NET SDK there is a disassembler in there as well.

-Peter
 
Old May 18th, 2007, 06:28 PM
Authorized User
 
Join Date: Feb 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Reflector is very good:
http://www.aisto.com/roeder/dotnet/

However, you should be aware that (depending on the circumstances) decompiling a dll or exe may often be illegal. Also be aware that you won't be able to retrieve original local variable names or comments, which makes it very hard to understand the original code. If the assembly was obfuscated, then it's harder still.


 
Old May 18th, 2007, 06:41 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

That is not entirely true Doknjas, I looked into salamander to see what it was all about and used their online decompiler to decompile a dummy web app that I created, and it gave me the complete source code right there. It also claims to beat obfuscation, however, I didnt see if this was true as I did not use Dotfuscator on my code.

In any case, you are quite right, decompiling or reverse engineering is normally illegal by most modern EULAs.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old May 18th, 2007, 06:50 PM
Authorized User
 
Join Date: Feb 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's different I guess for web pages. Did it give you comments and local variable names for compiled dll's ?


 
Old May 18th, 2007, 06:56 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

With their web version you are limited to decompiling only the first 5 methods but after decompilation it was like I was looking at the code in Visual Studio.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old July 5th, 2011, 03:57 AM
Registered User
 
Join Date: Jul 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

Quote:
Originally Posted by farhan_iac View Post
Hello All
I want to Decompile a C#.net dll to get its equivalent .CS files.Does anyone knows a software that can do this for me,of course the free version that does complete reverse engineering.can anyone help me in this matter?

Farhan
Check out some Free Tool for .Net DLL decompiler. They work as your dream.





Similar Threads
Thread Thread Starter Forum Replies Last Post
The problem with the Flash decompiler tools flashmagic Flash (all versions) 4 December 15th, 2006 11:39 PM
Install problems - VS 6.0 on XP SCRRUN.DLL PDM.DLL jeff4444 Visual C++ 0 December 6th, 2006 08:48 PM
A simple contrast on main flash(swf) decompiler/e gmail Flash (all versions) 0 July 12th, 2005 10:13 PM
Building a decompiler/disassembler propgmr VB How-To 1 April 28th, 2005 12:33 AM
Viability of building a decompiler or disassembler propgmr Beginning VB 6 2 April 27th, 2005 02:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.