<PackageReference Include="SSH.NET" Version="2024.1.0" />

SubsystemSession

public bool IsOpen { get; }

public int OperationTimeout { get; }

protected SubsystemSession(ISession session, string subsystemName, int operationTimeout)

public void Connect()

public WaitHandle[] CreateWaitHandleArray(WaitHandle waitHandle1, WaitHandle waitHandle2)

public void Disconnect()

public void Dispose()

protected virtual void Dispose(bool disposing)

protected abstract void OnChannelOpen()

protected abstract void OnDataReceived(byte[] data)

protected void RaiseError(Exception error)

public void SendData(byte[] data)

public int WaitAny(WaitHandle waitHandleA, WaitHandle waitHandleB, int millisecondsTimeout)

public int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout)

public bool WaitOne(WaitHandle waitHandle, int millisecondsTimeout)

public void WaitOnHandle(WaitHandle waitHandle, int millisecondsTimeout)