Initializes a new instance of the Telnet class, using default port 23 and specified SSL mode.
Namespace:
Rebex.Net
Assembly:
Rebex.Telnet (in Rebex.Telnet.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ serverName As String, _ security As SslMode _ ) |
C# |
---|
public Telnet( string serverName, SslMode security ) |
Parameters
- serverName
- Type: System..::..String
The server address - either a hostname or a dotted string IP address.
- security
- Type: Rebex.Net..::..SslMode
Connection security.