Table of Contents

Class TerminalServices

Namespace
OneImlx.Terminal.Runtime
Assembly
OneImlx.Terminal.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

DelimitedMessage(TerminalOptions, params string[])

Constructs a delimited message from specified raw command strings using the settings defined in terminal options.

public static string DelimitedMessage(TerminalOptions terminalOptions, params string[] commands)

Parameters

terminalOptions TerminalOptions

The terminal options that include the delimiter settings.

commands string[]

The raw command strings to process with the message delimiter.

Returns

string

A message string with added delimiters.

Remarks

This method verifies that each command string ends with the RemoteCommandDelimiter. It appends the delimiter if absent and combines the strings into a single message using the RemoteMessageDelimiter.

See Also

DelimitedMessage(string, string, params string[])

Constructs a delimited message from specified raw strings using provided command and message delimiters.

public static string DelimitedMessage(string cmdDelimiter, string msgDelimiter, params string[] commands)

Parameters

cmdDelimiter string

The command delimiter to use.

msgDelimiter string

The message delimiter to use.

commands string[]

The raw strings to append with a command delimiter.

Returns

string

A delimited message ready for transmission or processing.

Remarks

This method checks each command string for the presence of the command delimiter and appends it if missing. It then combines these strings into a single message.

See Also

EncodeLicenseContents(string)

Encodes the license contents to set it in the licensing options.

public static string EncodeLicenseContents(string licenseContents)

Parameters

licenseContents string

Returns

string