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
encodedLicenseContentsstring
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
licenseContentsstring
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
tokenstringThe token to check.
optionPrefixcharThe terminal option prefix to use checking.
isAliasboolOutputs whether the option is an alias.
Returns
- bool
True if the token is an option; otherwise, false.