ExpectAction Constructor (Regex, Action String )SSH .NET Client Library Documentation
Initializes a new instance of the ExpectAction class.

Namespace: Renci.SshNet
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public ExpectAction(
	Regex expect,
	Action<string> action
)

Parameters

expect
Type: OnlineSystem.Text.RegularExpressions Regex
The expect regular expression.
action
Type: OnlineSystem Action OnlineString 
The action to perform.
Exceptions

See Also