This documentation is archived and is not being maintained.

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)

public AssemblyInfo Info { get; }

Property Value

Type: Microsoft.VisualBasic.ApplicationServices.AssemblyInfo
This property returns the My.Application.Info object for the current application.

For more detailed information, see the Visual Basic topic My.Application.Info Property.

This property provides easy access to the My.Application.Info. For more information, see My.Application.Info Object.

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

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

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0