Click or drag to resize

VersionInfo Class

Returns formatted strings containing information about the running application.
Inheritance Hierarchy
SystemObject
  InnerDrive.CoreVersionInfo

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.0.8475.0
Syntax
C#
public sealed class VersionInfo

The VersionInfo type exposes the following members.

Constructors
 NameDescription
Public methodVersionInfo Creates a new instance of VersionInfo.
Public methodVersionInfo(Assembly) Creates a new instance of VersionInfo for a specific Assembly.
Top
Properties
 NameDescription
Public propertyStatic memberClrVersion Returns the Common Language Runtime version number.
Public propertyCode exampleConfiguration Returns information about the current application's compile configuration.
Public propertyCode exampleCopyright Returns the copyright information about the current application.
Public propertyCode exampleDescription Returns a description of the application.
Public propertyCode exampleFileDateGets the date and time the assembly was compiled.
Public propertyCode exampleName Gets the short name of the running application.
Public propertyTimeStamp The assembly time stamp from the portable executable header
Public propertyCode exampleTitle Gets the application's full title.
Public propertyCode exampleVersionGets the assembly's version number.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodCode exampleGetVersionString(VersionFormats) Gets a formatted String containing the specified version information.
Public methodCode exampleGetVersionString(VersionFormats, Assembly) Gets a formatted String containing the specified version information for a particular Assembly.
Public methodCode exampleGetVersionString(VersionFormats, String) Gets a formatted String containing the specified version information using a specified string at each line break.
Public methodCode exampleGetVersionString(VersionFormats, Assembly, String) Gets a formatted String containing the specified version information for a particular Assembly using a specific newline string.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Converts the value of this instance to a String.
(Overrides ObjectToString)
Top
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.*/

See Also