public void StopWindowsOpenSshPipe() { if (disposed) { throw new ObjectDisposedException(null); } if (opensshPipe == null) { return; } opensshPipe.Dispose(); opensshPipe = null; }
public void StartWindowsOpenSshPipe() { if (disposed) { throw new ObjectDisposedException(null); } if (opensshPipe != null) { return; } opensshPipe = new WindowsOpenSshPipe(); opensshPipe.ConnectionHandler = connectionHandler; }