473,378 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 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 26333
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Tran Tuan Anh | last post by:
Dear all: I need your advice on this matter. I am working on a program which takes some pieces of System-C code in and generate some other System-C code. (System-C code is just C++ with some...
9
by: Henk Verhoeven | last post by:
We are not alone! "Where other MDA tools are generating programmingcode, Codeless chooses not to generate code at all". OK, phpPeanuts is not an MDA tool (it has no fancy modeling GUI). But it...
1
by: Lut | last post by:
Hey, I made a custom usercontrol (Custom listview) in the Control Library. Now I want in the properties of design a property 'Sort'. (That is not a problem to do that) But, when it is Yes...
12
by: anna | last post by:
Map, generate, and maintain 50% of your .NET application code, namely your business and data objects. Use these objects in ASP.NET, Windows Forms, console or services applications. Business and...
4
by: Chris Bower | last post by:
Reposted from aspnet.buildingcontrols: Ok, I've got a bunch of derived controls that all have a property Rights of type Rights (Rights is an Enumerator). I wrote a custom TypeConverter so that I...
1
by: A Traveler | last post by:
Hello, i am having this problem. The exact error message is: "Unable to generate code for a value of type 'System.Web.UI.Page'. This error occurred while trying to generate the property value for...
1
by: Carl Johansen | last post by:
Hi all, I have an ASP.NET 2.0 website in Visual Studio 2005 (ie I open it with File | Open Web Site...). I have put XML comments in the source code in the App_Code directory (with <summary>...
0
by: taylorjonl | last post by:
I am having a problem generating some soap proxies dynamically using almost the exact same code as in the MSDN sample. ...
5
by: mortb | last post by:
Hello! I make use of anonymous delegates in my code. For debugging purposes I'd like to generate the code that the delegates describe. Do anyone have an easy way to do this? cheers, mortb
0
by: faros | last post by:
i want to code generate for xml simple file i have theses lines in XML: <?xml version="1.0" encoding="utf-8" ?> <Elements xmlns="..."> <Field ID="{F094C1EA-786A-4c5b-BFBC-58A63863A3DF}" ...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.