Ssh.StartCommandAsync Method
Namespace: Rebex.Net
Assembly: Rebex.SshShell.dll (version 7.0.9448)
StartCommandAsync(String, Object)
Begins asynchronous StartCommand operation. Starts a remote command.
Declaration
public Task<Shell> StartCommandAsync(string command, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| String | command | Command to execute. |
| Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
| Type | Description |
|---|---|
| Task<Shell> | Shell object. |