Table of Contents

Class TerminalServices

Namespace
OneImlx.Terminal.Shared
Assembly
OneImlx.Terminal.Shared.dll

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

string

DelimitBytes(byte[], byte)

Delimits the byte array with the specified delimiter.

public static byte[] DelimitBytes(byte[] bytes, byte delimiter)

Parameters

bytes byte[]

The byte array to delimit.

delimiter byte

The delimiter byte.

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

string

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 string

The token to check.

optionPrefix char

The terminal option prefix to use checking.

isAlias bool

Outputs whether the option is an alias.

Returns

bool

True if the token is an option; otherwise, false.