TelnetSession
|
Overloaded. Initializes a new instance of the TelnetSession class. |
CommandTerminator | Gets/Sets the command terminator used when sending data to TELNET server. Default is "\n". |
Debug | Gets/Sets TelnetSession debug mode. |
DebugStream | Gets/Sets TelnetSession debug stream. |
Encoding | Gets/Sets the Encoding used when converting between string and bytes. Default is Encoding.UTF8 |
Hostname | Gets/Sets the TELNET server host name or IP address. |
LicenseKey | License key. |
LoginPrompt | Gets/Sets login prompt to wait for before sending username. Default is "login:". |
LoginPromptRegex | Gets/Sets if the login prompt is a regular expression. Default is false |
Password | Gets/Sets the password used to log in to the TELNET server. |
PasswordPrompt | Gets/Sets the password prompt to wait for before sending password. Default is "Password:". |
PasswordPromptRegex | Gets/Sets if the password prompt is a regular expression. Default is false |
Port | Gets/Sets the TELNET server port number. Default is 23. |
SendBeforeLoginPrompt | Gets/Sets the value to send before login prompt. |
SessionTimeout | Gets/Sets the TelnetSession timeout in milliseconds for all running tasks to complete. Default timeout is 120000ms (120 seconds). |
ShellPrompt | Gets/Sets the shell prompt to wait for before sending commands. Default is "$". |
ShellPromptRegex | Gets/Sets if the shell prompt is a regular expression. Default is false |
Username | Gets/Sets the user name used to log in to the TELNET server. |
Connect | Establishes connection with TELNET server and performs login using specified username and password. |
DebugMessage | Writes additional debug information to the debug stream. |
Disconnect | Disconnects from TELNET server. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
OnDoOption | Telnet DoOption Event method. |
OnWillOption | Telnet WillOption Event method. |
Send | Overloaded. Sends command to TELNET server terminated by command terminator. |
SendNoWait | Sends command to TELNET server terminated by command terminator. |
SendRaw | Sends raw data to TELNET server. |
SendWait | Overloaded. Sends command to TELNET server terminated by command terminator. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
TelnetSession Class | Jscape.Telnet Namespace