Solved

About Assembly !

Posted on 2006-06-18
5
286 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
5 Comments
 
LVL 7

Expert Comment

by:pradeepsudharsan
ID: 16931850
0
 
LVL 28

Accepted Solution

by:
iboutchkine earned 500 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Trying to get PDF to open as "Open,Save,Cancel" instead of as a pop-up. 6 42
C# Single Form 8 42
VB: Convert 2 dates to specific format 24 48
VB.NET 1 21
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

786 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