Skip to content

TelnetConnector ​

A connector for sending and receiving messages over named pipes as a client.

Kind: Class

Namespace: ConnectorLib

Inheritance: ConnectorBase → IDisposable → IGameConnector

Public Constructors

TelnetConnector()

Public Member Functions

virtual override

Task>

Connect()

virtual override

Task

Disconnect(string message)

ValueTuple

CheckTelnetMessages(byte[] buffer, int offset, int length)

Check for Telnet messages in the provided buffer.

Properties

bool

Connected

[get, ]

string

Host

[get, set]

The host name or IP address of the Telnet server.

ushort

Port

[get, set]

The port number of the Telnet server.

string

Username

[get, set]

The username to use for authentication.

string

Password

[get, set]

The password to use for authentication.

string

LineTerminator

[get, set]

LoginMethodType

LoginMethod

[get, set]

The method of authentication to use.