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:

image

The LoadedAssemblies property is of type ReadonlyCollection(Of System.Reflection.AssemblyInfo), so you become more skilled after reading Chapter 47, “Reflection.”

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.13.76