Provides properties for getting the information about the application, such as the version number, description, loaded assemblies, and so on.
| C# | Visual Basic |
public class AssemblyInfo
Public Class AssemblyInfo
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| AssemblyInfo(Assembly) |
Initializes a new instance of the AssemblyInfo class with the specified assembly information.
| |
| AssemblyName |
Gets the name, without the extension, of the assembly file for the application.
| |
| CompanyName |
Gets the company name associated with the application.
| |
| Copyright |
Gets the copyright notice associated with the application.
| |
| Description |
Gets the description associated with the application.
| |
| DirectoryPath |
Gets the directory where the application is stored.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ProductName |
Gets the product name associated with the application.
| |
| StackTrace |
Gets the current stack-trace information.
| |
| Title |
Gets the title associated with the application.
| |
| ToString()()()() | (Inherited from Object.) | |
| Trademark |
Gets the trademark notice associated with the application.
| |
| Version |
Gets the version number of the application.
|
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.
The My.Application.Info object provides functionality similar to the FileVersionInfo class but is scoped to give quick access to the most common properties.
| Object | |
| AssemblyInfo | |