ApplicationBase::Info Property


Gets an object that provides properties for getting information about the application's assembly, such as the version number, description, and so on.

Namespace:   Microsoft.VisualBasic.ApplicationServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

property AssemblyInfo^ Info {
	[HostProtectionAttribute(SecurityAction::LinkDemand, Resources = HostProtectionResource::ExternalProcessMgmt)]
	AssemblyInfo^ get();

Property Value

Type: Microsoft.VisualBasic.ApplicationServices::AssemblyInfo^

The AssemblyInfo object for the current application.

This example uses the My.Application.Info.Version property to display the version of the application.

MsgBox("Application version: " & My.Application.Info.Version.ToString)

.NET Framework
Available since 2.0
Return to top