VersionInfo Class

Returns formatted strings containing information about the running application.

Definition

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
C#
public sealed class VersionInfo
Inheritance
Object    VersionInfo

Remarks

To display detailed version information about the running assembly:
C#
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.

*/

Constructors

VersionInfo Creates a new instance of VersionInfo.
VersionInfo(Assembly) Creates a new instance of VersionInfo for a specific Assembly.

Properties

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.
FileDateGets 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.
VersionGets the assembly's version number.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets 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.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Converts the value of this instance to a String.
(Overrides ObjectToString)

See Also