Programmatically decompile assembly to MSIL or sourcecode

Posted on 2005-05-03
Last Modified: 2009-07-29
I'm wanting to analyze some code but I want it to be based upon an assembly and not source code. I've looked at reflector but there isn't an api and I can't seem to find current dll's..

My goal is to get the code into a module of somesort so that I can work with it.

some ideas?
Question by:jayrod
    LVL 3

    Expert Comment

    Take a look at ildasm.exe. This will give you MSIL code for the given assemby.
    LVL 3

    Author Comment

    well.. I'd like to do it progromaticallly.... not through a gui.. I'm looking for an API of somesort
    LVL 37

    Accepted Solution


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
    Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now