AssemblyInfo Class

Note: This class is new in the .NET Framework version 2.0.

Provides properties for getting the information about the application, such as the version number, description, loaded assemblies, and so on.

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

public class AssemblyInfo
public class AssemblyInfo
public class AssemblyInfo

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

Some of the properties exposed by the My.Application.Info object return the application's assembly information. To set the information in the application's assembly, you must use the Assembly Information dialog box, accessible from the Application pane of the Project Designer. For more information, see How to: Specify Assembly Information.

The My.Application.Info object provides functionality similar to the FileVersionInfo class but is scoped to give quick access to the most common properties.

Other properties, such as LoadedAssemblies, provide access to the current state of the 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)


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

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

.NET Framework

Supported in: 2.0

Community Additions