Click or drag to resize

SshCommand Class

Represents SSH command that can be executed.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharp.SshSshCommand

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public class SshCommand : IDisposable

The SshCommand type exposes the following members.

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.
Top
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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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 ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also