Version |
public sealed class VersionInfo
The VersionInfo type exposes the following members.
Name | Description | |
---|---|---|
VersionInfo | Creates a new instance of VersionInfo. | |
VersionInfo(Assembly) | Creates a new instance of VersionInfo for a specific Assembly. |
Name | Description | |
---|---|---|
ClrVersion | Returns the Common Language Runtime version number. | |
Configuration | Returns information about the current application's compile configuration. | |
Copyright | Returns the copyright information about the current application. | |
Description | Returns a description of the application. | |
FileDate | Gets the date and time the assembly was compiled. | |
Name | Gets the short name of the running application. | |
TimeStamp | The assembly time stamp from the portable executable header | |
Title | Gets the application's full title. | |
Version | Gets the assembly's version number. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
GetVersionString(VersionFormats) | Gets a formatted String containing the specified version information. | |
GetVersionString(VersionFormats, Assembly) | Gets a formatted String containing the specified version information for a particular Assembly. | |
GetVersionString(VersionFormats, String) | Gets a formatted String containing the specified version information using a specified string at each line break. | |
GetVersionString(VersionFormats, Assembly, String) | Gets a formatted String containing the specified version information for a particular Assembly using a specific newline string. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString |
Converts the value of this instance to a String.
(Overrides ObjectToString) |
var versionInfo = new VersionInfo(); var versionFormat = VersionFormats.All; var version = GetVersionString(versionFormat); /* Returns: Inner Drive Extensible Architecture - Framework Base classes and types for the Inner Drive Extensible Architecture Version 4.2.8122.0 Release CLR 6.0.3 3/27/2022 10:52 PM Copyright ©2022 Inner Drive Technology. All rights reserved. Portions Copyright ©1986-2022 David Braverman.*/