ApplicationBase.Info Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

public AssemblyInfo Info {
	[HostProtectionAttribute(SecurityAction.LinkDemand, Resources = HostProtectionResource.ExternalProcessMgmt)]
	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
Show: