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

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

public IAsyncResult BeginExecute(
	string commandText,
	AsyncCallback callback,
	Object state
)

Parameters

commandText
Type: OnlineSystem String
The command text.
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