Provides properties for getting the information about the application, such as the version number, description, loaded assemblies, and so on.
public ref class AssemblyInfo
public class AssemblyInfo
type AssemblyInfo = class
Public Class AssemblyInfo
This example uses the
My.Application.Info.Version property to display the version of the application.
MsgBox("Application version: " & My.Application.Info.Version.ToString)
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.
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.
Initializes a new instance of the AssemblyInfo class with the specified assembly information.
Gets the name, without the extension, of the assembly file for the application.
Gets the company name associated with the application.
Gets the copyright notice associated with the application.
Gets the description associated with the application.
Gets the directory where the application is stored.
Gets a collection of all assemblies loaded by the application.
Gets the product name associated with the application.
Gets the current stack-trace information.
Gets the title associated with the application.
Gets the trademark notice associated with the application.
Gets the version number of the application.
Gets the amount of physical memory mapped to the process context.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)