Ssh.StartShellAsync Method
Namespace: Rebex.Net
Assembly: Rebex.SshShell.dll (version 7.0.9119)
StartShellAsync(ShellMode, Object)
Begins asynchronous StartShell operation. Starts a remote shell.
Declaration
public Task<Shell> StartShellAsync(ShellMode mode, object state = null)
Parameters
Type | Name | Description |
---|---|---|
ShellMode | mode | Shell mode. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<Shell> | Shell object. |