The TelnetSession type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
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.
|