The TelnetTask type exposes the following members.

Properties

  Name Description
Public property Command
Gets/Sets the TelnetTask command to execute.
Public property EndPrompt
Gets/Sets the shell end prompt this TelnetTask should wait for to indicate that this TelnetTask is complete.
Public property EndPromptRegex
Gets/Sets if the end prompt is a regular expression
Public property Name
Gets/Sets the name of this TelnetTask.
Public property NextTask
Gets/Sets the next task executed after this TelnetTask.
Public property PreviousTask
Gets/Sets the previous task executed before this TelnetTask.
Public property Script
Gets/Sets the TelnetScript that this TelnetTask is bound to.
Public property StartPrompt
Gets/Sets the shell start prompt this TelnetTask should wait for before executing command.
Public property StartPromptRegex
Gets/Sets if the start prompt is a regular expression.
Public property Status
Gets/Sets completion status of this TelnetTask.
Public property Terminator
Gets/Sets the command terminator used when sending commands to TELNET server. Default is "\n".
Public property Timeout
Gets/Sets the timeout in milliseconds for a running tasks to receive the expected end prompt. Default timeout is 120000ms (120 seconds).

See Also