Daniel

Daniel

  • NA
  • 4
  • 11.4k

Decompile .exe into C# Visual Studio 2008

Feb 17 2011 1:48 PM
Hi guys/girls,

I have an exe that has been written in C# using visual studio

Is there a was I can de-compile it back into the C# code - It seems to be some what protected

exe files I've created myself using Visual Studio and C# I can see the code when I "Disassemble" using Reflector

However all i seem to get is things like this when I de-compile the exe I want to:

  // Fields
    private  ;
    private  ;
    private DataRelation ;
    private SchemaSerializationMode ;

    // Methods
    public  ();
    public  ();
    [DebuggerNonUserCode]
    private bool ();
    public DataRelationCollection ();
    public DataTableCollection ();
    [DebuggerNonUserCode]
    internal void ();
    [DebuggerNonUserCode]
    internal void (bool );


When I "Disassemble" my exe I get real code like this:

private void cmdFind_Click(object sender, EventArgs e)
{
    this.lblMatch.Visible = false;
    this.lblNoMore.Visible = false;
    try
    {
        if (this.txtSearch.Text == "")
        {
            this.lblMatch.Visible = true;
        }
        else
        {

you get the point


I'm not trying to pirate anything or anything like that because I know something like that will go through someones head haha

All I'm trying to do is get a look at the code so I can see how it works before I start working


Any help would be appreciated

Thanks





Answers (1)