MSIL Disassembler (ildasm.exe)

This tool extracts the MSIL code from a PE file targeted for .NET Framework. The general syntax for this tool is:

Ildasm [options] PEFilename

The following table shows some of the common usages of the disassembler:




This includes references to original source lines.


The output goes to a file instead of in a GUI dialog box.


This shows original source lines as comments.


The output goes in a console window.


This shows metadata tokens as classes and members.

Get .Net Framework Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.