Telnet Class
Namespace: Rebex.Net
Assembly: Rebex.Telnet.dll (version 7.0.9147)
Provides methods for communication with Telnet servers.
Syntax
public class Telnet : IShellChannelFactory, ILogWriterProvider
Inherited Members
Constructors
Name | Description |
---|---|
Telnet(String) | Initializes a new instance of the Telnet class, using default port 23 and no SSL. |
Telnet(String, Ssl |
Initializes a new instance of the Telnet class, using default port 23 and specified SSL mode. |
Telnet(String, Int32) | Initializes a new instance of the Telnet class, using specified port and no SSL. |
Telnet(String, Int32, Ssl |
Initializes a new instance of the Telnet class, using specified port and SSL mode. |
Fields
Name | Description |
---|---|
Default |
Default Telnet port (23). |
Properties
Name | Description |
---|---|
Host |
Gets the host-name of the remote server. |
Log |
Gets or sets the logger used by this object. |
Port | Gets the port of the remote server. |
Proxy | Gets or sets the network proxy to use to access a remote server. |
Settings | Gets or sets Telnet object settings. |
Timeout | Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out). |
Methods
Name | Description |
---|---|
Set |
Sets the socket factory to be used to create communication sockets. |
Start |
Starts a scripting session with a virtual terminal. |
Start |
Starts a scripting session with a virtual terminal. |
Start |
Starts a scripting session with a virtual terminal. |
Start |
Begins asynchronous StartScripting operation. Starts a scripting session with a virtual terminal. |
Start |
Begins asynchronous StartScripting operation. Starts a scripting session with a virtual terminal. |
Start |
Begins asynchronous StartScripting operation. Starts a scripting session with a virtual terminal. |
Start |
Starts a remote shell. |
Start |
Starts a virtual terminal session. |
Start |
Starts a virtual terminal session. |
Start |
Starts a virtual terminal session. |
Start |
Begins asynchronous StartVirtualTerminal operation. Starts a virtual terminal session. |
Start |
Begins asynchronous StartVirtualTerminal operation. Starts a virtual terminal session. |
Start |
Begins asynchronous StartVirtualTerminal operation. Starts a virtual terminal session. |
Events
Name | Description |
---|---|
Validating |
Occurs when a server certificate needs to be validated. |
Explicit Interface Implementations
Name | Description |
---|---|
IShell |
Creates a new shell channel using the specified options. |