This tool allows the inspection of the metadata of an assembly. It accepts an assembly file for input and outputs the metadata section to the console. It has similar functionality to ildasm.exe with the /noil /meta options.
The application file for the metainfo viewer tool is named metainfo.exe in
the Shared Source CLI (SSCLI) when built on Microsoft® Windows®. It is named
metainfo in the SSCLI when built on FreeBSD.
Usage:
metainfo [options] filename
| Argument | Description |
|---|---|
| filename | File containing metadata to read. This can include wild cards. |
Options can be specified using either a dash (-) or a slash (/).
| Option | Description |
|---|---|
| -? | Displays usage text When using this tool on the FreeBSD operating system, /? may expand to a filename. Instead, use the /help option variation, use -?, or enclose the /? option in quotes: "/?". |
| -hex | Prints more information in hex as well as words. |
| -header | Prints metadata header information and sizes. |
| -csv | Prints the header sizes in comma separated format. |
| -unsat | Prints unresolved externals. |
| -assem | Prints only the assembly information. |
| -schema | Prints the metadata schema information. |
| -raw | Prints the raw metadata tables |
| -heaps | Prints the raw heaps (only if -raw). |
| -validate | Validates the consistency of the metadata. |
| -nologo | Will not display the logo. |
| -obj objFileName | Prints the metadata for the specified obj file in the given archive(.lib) |
Copyright (c) 2002 Microsoft Corporation