Connecting Tech Pros Worldwide Forums | Help | Site Map

Generate C# code from a DLL

overthetop
Guest
 
Posts: n/a
#1: May 18 '07
Hi

I want a tool to generate C# source code from a unsecured .dll witten
in C# . I know that with .NET Reflector you can see the code but I
want to generate it all. What tool should I use?

10x :)


Cowboy \(Gregory A. Beamer\)
Guest
 
Posts: n/a
#2: May 18 '07

re: Generate C# code from a DLL


Get the File Dissassembler add in for Reflector:
http://www.codeplex.com/reflectoraddins

After adding in, you have to restart Reflector. You will then have a File
Dissassembler menu item. Choose it and click on the assembly you want to
reverse engineer. As long as there is no obfuscation, it will create you a
project you can then work with.

NOTE: Because it is possible to do does not make it legal. If you are
reverse engineering resources created within your company, by someone who
destroyed source, this is fine. If you are learning, it is also okay. If you
are stealing code, just because you can does not make it right.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

************************************************
Think outside the box!
************************************************
"overthetop" <vanko.georgiev@gmail.comwrote in message
news:1179487834.603246.237900@y80g2000hsf.googlegr oups.com...
Quote:
Hi
>
I want a tool to generate C# source code from a unsecured .dll witten
in C# . I know that with .NET Reflector you can see the code but I
want to generate it all. What tool should I use?
>
10x :)
>

overthetop
Guest
 
Posts: n/a
#3: May 18 '07

re: Generate C# code from a DLL


On May 18, 4:59 pm, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@comcast.netNoSpamMwrote:
Quote:
Get the File Dissassembler add in for Reflector:http://www.codeplex.com/reflectoraddins
>
After adding in, you have to restart Reflector. You will then have a File
Dissassembler menu item. Choose it and click on the assembly you want to
reverse engineer. As long as there is no obfuscation, it will create you a
project you can then work with.
>
NOTE: Because it is possible to do does not make it legal. If you are
reverse engineering resources created within your company, by someone who
destroyed source, this is fine. If you are learning, it is also okay. If you
are stealing code, just because you can does not make it right.
>
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBAhttp://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)
>
************************************************
Think outside the box!
************************************************"o verthetop" <vanko.georg...@gmail.comwrote in message
>
news:1179487834.603246.237900@y80g2000hsf.googlegr oups.com...
>
Quote:
Hi
>
Quote:
I want a tool to generate C# source code from a unsecured .dll witten
in C# . I know that with .NET Reflector you can see the code but I
want to generate it all. What tool should I use?
>
Quote:
10x :)
10x man you're the best...I am just learning :)

Closed Thread