SshCommand MembersSSH .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
Properties

  NameDescription
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.
Back to Top
See Also