SshCommand MethodsSSH .NET Client Library Documentation
The SshCommand type exposes the following members.
Methods

  NameDescription
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 methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
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 OnlineObject Finalize .)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top
See Also