VersionInfoGetVersionString(VersionFormats, String) Method
Gets a formatted
String containing the specified version information
using a specified string at each line break.
Namespace: InnerDrive.CoreAssembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
public string GetVersionString(
VersionFormats versionFormat,
string newLineToken
)
- versionFormat VersionFormats
- A VersionFormats
specifying which portions of the version information to display.
- newLineToken String
- A string to use as a newline delineation.
StringA formatted string containing version information.
var versionInfo = new VersionInfo();
var versionFormat = VersionFormats.MajorMinor | VersionFormats.Copyright;
var newLineToken = "<br />";
var version = GetVersionString(versionFormat, newLineToken);
/*
Returns:
"2.0<br />Copyright ©2014 Inner Drive Technology.
All rights reserved. Portions Copyright ©1986-2010 David Braverman."
*/