Begins asynchronous Connect operation. Connects to the SSH server specified by ServerName and ServerPort properties and authenticates using the credential specified by UserName, UserPassword and UserPrivateKey properties.

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

Syntax

Visual Basic
Public Function ConnectAsync ( _
	state As Object _
) As Task
C#
public Task ConnectAsync(
	Object state
)

Parameters

state
Type: System..::..Object
An optional user-provided object that identifies this particular asynchronous operation.

Version Information

.NET Framework

Supported in: 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0

See Also