May 2010
Intermediate to advanced
1272 pages
61h 18m
English
You get assembly metadata information creating an instance of the System.Reflection.Assembly class. This class provides both static and instance members for accessing assembly information. Typically you use one of the methods summarized in Table 47.1 to load an assembly for getting information.
Table 47.1 Methods for Loading an Assembly

When you get the instance of the assembly you want to inspect, you can access information via some useful properties. The code in Listing 47.2 shows how to accomplish this. (See comments for explanations.)
Listing 47.2 Inspecting Assembly Information
Notice how the code uses the ...
Read now
Unlock full access