SubsystemSession
Base class for SSH subsystem implementations.
Gets a value indicating whether this session is open.
Occurs when the server has disconnected from the session.
Occurs when an error occurred.
Initializes a new instance of the SubsystemSession class.
Connects the subsystem using a new SSH channel session.
Creates a WaitHandle array that is composed of system objects and the specified
elements.
Creates a WaitHandle array that is composed of system objects and the specified
elements.
Disconnects the subsystem channel.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Releases unmanaged and - optionally - managed resources.
Called when channel is open.
Called when data is received.
Raises the error.
Sends data to the subsystem.
Blocks the current thread until the specified WaitHandle gets signaled, using a
32-bit signed integer to specify the time interval in milliseconds.
Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed
integer to specify the time interval.
Blocks the current thread until the specified WaitHandle gets signaled, using a
32-bit signed integer to specify the time interval in milliseconds.
Waits a specified time for a given WaitHandle to get signaled.
protected Task<T> WaitOnHandleAsync<T>(TaskCompletionSource<T> tcs, int millisecondsTimeout, CancellationToken cancellationToken)