Class TerminalServices
Provides common terminal services.
public static class TerminalServices
- Inheritance
-
TerminalServices
- Inherited Members
Methods
DecodeLicenseContents(string)
Decodes the license contents to be used by the license extractor.
public static string DecodeLicenseContents(string encodedLicenseContents)
Parameters
encodedLicenseContents
string
Returns
DelimitBytes(byte[], byte)
Delimits the byte array with the specified delimiter.
public static byte[] DelimitBytes(byte[] bytes, byte delimiter)
Parameters
Returns
- byte[]
EncodeLicenseContents(string)
Encodes the license contents to set it in the licensing options.
public static string EncodeLicenseContents(string licenseContents)
Parameters
licenseContents
string
Returns
IsOption(string, char, out bool)
Determines if the given token is an option based on specified prefix.
public static bool IsOption(string token, char optionPrefix, out bool isAlias)
Parameters
token
stringThe token to check.
optionPrefix
charThe terminal option prefix to use checking.
isAlias
boolOutputs whether the option is an alias.
Returns
- bool
True if the token is an option; otherwise, false.