Gets or sets the prompt sequence that is used to detect response end. To use regular expressions, prepend the string with "regex:". To use wildcards, prepend the string with "mask:". Prompt sequence is only used when shell Mode is Prompt

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./

Remarks

For more information about setting Prompt please visit the https://www.rebex.net/telnet.net/tutorial-telnet.aspx#using-shell.

Version Information

.NET

Supported in: .NET 5.0; .NET Framework 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0, 3.5 SP1

.NET Standard 2.0

Supported in: .NET Core 3.1, 3.0, 2.1; Xamarin.Android 9.1 (or higher); Xamarin.iOS 10.3 (or higher)

See Also