Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Telnet Constructor

Namespace: Rebex.Net
Assembly: Rebex.Telnet.dll (version 7.0.9147)

Telnet(String)

Initializes a new instance of the Telnet class, using default port 23 and no SSL.

Declaration
public Telnet(string serverName)
Parameters
Type Name Description
String serverName

The server address - either a hostname or a dotted string IP address.

Telnet(String, Int32)

Initializes a new instance of the Telnet class, using specified port and no SSL.

Declaration
public Telnet(string serverName, int serverPort)
Parameters
Type Name Description
String serverName

The server address - either a hostname or a dotted string IP address.

Int32 serverPort

The server port (eg. 23).

Telnet(String, SslMode)

Initializes a new instance of the Telnet class, using default port 23 and specified SSL mode.

Declaration
public Telnet(string serverName, SslMode security)
Parameters
Type Name Description
String serverName

The server address - either a hostname or a dotted string IP address.

SslMode security

Connection security.

Telnet(String, Int32, SslMode)

Initializes a new instance of the Telnet class, using specified port and SSL mode.

Declaration
public Telnet(string serverName, int serverPort, SslMode security)
Parameters
Type Name Description
String serverName

The server address - either a hostname or a dotted string IP address.

Int32 serverPort

The server port (eg. 23).

SslMode security

Connection security.

In This Article
  • Telnet(String)
  • Telnet(String, Int32)
  • Telnet(String, SslMode)
  • Telnet(String, Int32, SslMode)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies