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.
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.
Waits a specified time for a given WaitHandle to get signaled.
public Task WaitOnHandleAsync(WaitHandle waitHandle, int millisecondsTimeout, CancellationToken cancellationToken)
public Task<T> WaitOnHandleAsync<T>(TaskCompletionSource<T> tcs, int millisecondsTimeout, CancellationToken cancellationToken)