Click here to Skip to main content
15,991,071 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everyone!I have a requeriment to retrive the method body from .dll file in C#.Net.Here i am using System.Reflection to retrive the Method names,Parameters and Properties etc.But for method body.Please suggest me some an idea... :-)
Posted
Comments
Richard MacCutchan 10-Aug-10 6:30am    
I do not think that this is possible without a decompiler, i.e. a program that can convert MSIL to source language.
Toli Cuturicu 10-Aug-10 10:14am    
Reason for my vote of 1
Use Reflector.exe

1 solution

you can try with this
 
Share this answer
 
Comments
hemantwithu 10-Aug-10 5:30am    
Reason for my vote of 1
Don't send me the link which u have serached from Google.
sainath437 10-Aug-10 5:40am    
the reference doesnt give the method body,more over the reflection works on the metadata...and in any case it cannot provide method body(actual content of the method).

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900