472,120 Members | 1,462 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,120 software developers and data experts.

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 26226
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.