Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
Hi Frnds,
I converted my C# code to dll.But i need to add some methods inside that class files.My original code is deleted.I need to convert dll to original code.How to convert it to get my original code.
Posted 18-Nov-12 22:46pm
Comments
aspnet_regiis -i at 9-Feb-13 10:14am
   
Are you sure it is not a copyrighted dll ? It is illegal to decompile and use somebody else's copyrighted dll.People who delete their own code are very rare
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Probably, you can't - at least not in the same form as it was originally. You can use ILDASM to get the overall structure: http://msdn.microsoft.com/en-us/library/aa309387(VS.71).aspx[^] and JetBrains dotPeek[^] is very good at decompiling.
 
But if you obfuscated it in any way, don't expect it to be readable code!
  Permalink  
Comments
Andy411 at 19-Nov-12 5:17am
   
I did not know JetBrains dotPeek. Thx for the hint!
OriginalGriff at 19-Nov-12 5:29am
   
It's a nice app. I don't use it much, but when you need it...:laugh:
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

I'm sattisfied with
http://ilspy.net/[^] for decompiling.
 
But as OriginalGriff pointed out: If it's obfuscated... Frown | :-(
 

Good look!
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

Hi,
download reflector,Using this you can change your dll in to c sharp code.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 200
1 Kornfeld Eliyahu Peter 175
2 BillWoodruff 160
3 George Jonsson 140
4 OriginalGriff 126


Advertise | Privacy | Mobile
Web04 | 2.8.141015.1 | Last Updated 11 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100