Gets or sets the sequence that is used to detect command prompt. To use regular expressions, prepend the string with "regex:". To use wildcards, prepend the string with "mask:". Prompt sequence is used by ReadUntilPrompt()()()() method (and other methods if Prompt is specified). To detect the current prompt automatically , use DetectPrompt()()()() method.

Namespace:  Rebex.TerminalEmulation
Assembly:  Rebex.Terminal (in Rebex.Terminal.dll)

Syntax

Visual Basic
Public Property Prompt As String
	Get
	Set
C#
public string Prompt { get; set; }

Field Value

Prompt sequence.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also