469,315 Members | 2,012 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,315 developers. It's quick & easy.

Generate C# code from a DLL

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 :)

May 18 '07 #1
2 26110
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" <va************@gmail.comwrote in message
news:11**********************@y80g2000hsf.googlegr oups.com...
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 :)

May 18 '07 #2
On May 18, 4:59 pm, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@comcast.netNoSpamMwrote:
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:11**********************@y80g2000hsf.googlegr oups.com...
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 :)
10x man you're the best...I am just learning :)

May 18 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Tran Tuan Anh | last post: by
9 posts views Thread by Henk Verhoeven | last post: by
1 post views Thread by Lut | last post: by
4 posts views Thread by Chris Bower | last post: by
1 post views Thread by A Traveler | last post: by
1 post views Thread by Carl Johansen | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.