The Telnet type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Telnet(String) |
Initializes a new instance of the Telnet class, using default port 23 and no SSL.
| |
| Telnet(String, SslMode) |
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, SslMode) |
Initializes a new instance of the Telnet class, using specified port and SSL mode.
|
Methods
| Name | Description | |
|---|---|---|
| BeginStartScripting(AsyncCallback, Object) |
Begins asynchronous StartScripting operation.
Starts a scripting session with a virtual terminal.
| |
| BeginStartScripting(TerminalOptions, AsyncCallback, Object) |
Begins asynchronous StartScripting operation.
Starts a scripting session with a virtual terminal.
| |
| BeginStartScripting(TerminalOptions, Int32, Int32, AsyncCallback, Object) |
Begins asynchronous StartScripting operation.
Starts a scripting session with a virtual terminal.
| |
| BeginStartVirtualTerminal(AsyncCallback, Object) |
Begins asynchronous StartVirtualTerminal operation.
Starts a virtual terminal session.
| |
| BeginStartVirtualTerminal(TerminalOptions, AsyncCallback, Object) |
Begins asynchronous StartVirtualTerminal operation.
Starts a virtual terminal session.
| |
| BeginStartVirtualTerminal(TerminalOptions, Int32, Int32, AsyncCallback, Object) |
Begins asynchronous StartVirtualTerminal operation.
Starts a virtual terminal session.
| |
| EndStartScripting |
Ends an asynchronous BeginStartScripting operation.
| |
| EndStartVirtualTerminal |
Ends an asynchronous BeginStartVirtualTerminal operation.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetSocketFactory |
Sets the socket factory to be used to create communication sockets.
| |
| StartScripting()()()() |
Starts a scripting session with a virtual terminal.
| |
| StartScripting(TerminalOptions) |
Starts a scripting session with a virtual terminal.
| |
| StartScripting(TerminalOptions, Int32, Int32) |
Starts a scripting session with a virtual terminal.
| |
| StartShell |
Starts a remote shell.
| |
| StartVirtualTerminal()()()() |
Starts a virtual terminal session.
| |
| StartVirtualTerminal(TerminalOptions) |
Starts a virtual terminal session.
| |
| StartVirtualTerminal(TerminalOptions, Int32, Int32) |
Starts a virtual terminal session.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| DefaultPort |
Default Telnet port (23).
|
Properties
| Name | Description | |
|---|---|---|
| HostName |
Gets the host-name of the remote server.
| |
| LogWriter |
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).
|
Events
| Name | Description | |
|---|---|---|
| ValidatingCertificate |
Occurs when a server certificate needs to be validated.
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IShellChannelFactory..::..CreateShellChannel |