SshCommand BeginExecute Method (AsyncCallback, Object)SSH .NET Client Library Documentation
Begins an asynchronous command execution.

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

public IAsyncResult BeginExecute(
	AsyncCallback callback,
	Object state
)

Parameters

callback
Type: OnlineSystem AsyncCallback
An optional asynchronous callback, to be called when the command execution is complete.
state
Type: OnlineSystem Object
A user-provided object that distinguishes this particular asynchronous read request from other requests.

Return Value

An OnlineIAsyncResult that represents the asynchronous command execution, which could still be pending.
Exceptions

See Also