Getting Assembly Information
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.
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.)
Notice how the code uses the ...
Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.