?
Solved

About Assembly !

Posted on 2006-06-18
5
Medium Priority
?
292 Views
Last Modified: 2010-04-23

Hi,

I know that every assembly consists of the following information:

1. MSIL
2. Resources
3. Meta-data

Can you please let me know, how can i see this information for an assembly ? Let us say my assembly is a EXE created by windows application.

Thanks,
Kishore
0
Comment
Question by:kishore_peddi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 28

Accepted Solution

by:
iboutchkine earned 2000 total points
ID: 16934142
Assemblies contain 4 elements:
1.Exe file
2.MSIL - MS intermediate language. MSIL code is your program code compiled into language that the common
            language runtime understands
3.Metadata - information about types, methods and other elements defined and referenced in the code
4.Manifest - includes name and version info, list of files in assembly, security info etc

The metadata that is stored in the components is binary, and contains all types, members,
and references in that file or assembly. The metadata is compiled into the PE
file, but when the file is used at runtime, the metadata is moved into memory so that
it can be accessed more quickly.

Metadata included into each managed module completely describes each type defined in the module:
name, public memebers, signature of each distinct method.
Metadata also records the information about every type that this module uses.

Metadata is a superset of type libraries used under COM with the important differrence thst you
cannot  separate IL from its metadata.
Metadata makes  a managed module self describing.

Manifest (Assembly Meta Data)
The manifest makes an assembly self describing and can be viewed with the IL Disassembler - Intermediate
Language Disassembler. The IL Disassembler (Ildasm.exe) is included in the .NET Framework SDK and runs
from a command line.

0
 
LVL 14

Expert Comment

by:ptakja
ID: 16939480
I think you need to run the ILDASM.exe from the .NET Command Window, not the standard cmd window.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

764 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