Retrieving Assembly Information

Basically My.Application maps the same-named tab within My Project. Because of this, it provides the ability of investigating in code assemblies’ information. This can be accomplished via the My.Application.Info property (of type Microsoft.VisualBasic.ApplicationServices.AssemblyInfo) that retrieves information about the current assembly, such as the name, version, company name, copyright, and so on. The following code shows how you can accomplish this:

image

Another interesting feature is that you can get information on all referenced assemblies, as shown in the following iteration:

The LoadedAssemblies property is ...

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.