Metadata Viewer Tool (metainfo.exe)

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 CIL Disassembler using the /noil /meta options.

The application file for the metadata viewer tool is named metainfo.exe in the Shared Source CLI (SSCLI) when built on Microsoft Windows®. 

Usage

metainfo [options] filename
Argument Description
filename File containing metadata to read.  This can include wild cards.

Options

Options can be specified using either a dash (-) or a slash (/).

Option Description
-hex Prints additional information in hexadecimal format as well as in 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 the -raw option is also used).
-validate Validates the consistency of the metadata.
-nologo Does not display the logo.
-obj objFileName Prints the metadata for the specified obj file in the given archive (.lib).
-? Displays usage text


Copyright (c) 2006 Microsoft Corporation. All rights reserved.