The SshCommand type exposes the following members.


Public methodBeginExecute()()()()
Begins an asynchronous command execution.
Public methodBeginExecute(AsyncCallback)
Begins an asynchronous command execution.
Public methodBeginExecute(AsyncCallback, Object)
Begins an asynchronous command execution.
Public methodBeginExecute(String, AsyncCallback, Object)
Begins an asynchronous command execution. 22
Public methodCancelAsync
Cancels command execution in asynchronous scenarios.
Public methodDispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged ResourceMessages.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
Public methodEndExecute
Waits for the pending asynchronous command execution to complete.
Public methodExecute()()()()
Executes command specified by CommandText property.
Public methodExecute(String)
Executes the specified command text.
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the SshCommand is reclaimed by garbage collection.
(Overrides Object..::..Finalize()()()().)


Public propertyCommandText
Gets the command text.
Public propertyCommandTimeout
Gets or sets the command timeout.
Public propertyError
Gets the command execution error.
Public propertyExitStatus
Gets the command exit status.
Public propertyExtendedOutputStream
Gets the extended output stream.
Public propertyOutputStream
Gets the output stream.
Public propertyResult
Gets the command execution result.

See Also