VersionInfoGetVersionString(VersionFormats) Method
Gets a formatted
String containing the specified version information.
Namespace: InnerDrive.CoreAssembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
public string GetVersionString(
VersionFormats versionFormat = VersionFormats.Name|VersionFormats.MajorMinor
)
- versionFormat VersionFormats (Optional)
- A VersionFormats
specifying which portions of the version information to display.
StringA formatted
String containing version information.
Uses the default newLineToken of 0x0D0A.
var versionInfo = new VersionInfo();
var versionFormat = VersionFormats.MajorMinor;
var version = GetVersionString(versionFormat);
// Returns "2.0"