public void Stop() { if (!IsStarted) { throw new SshException("Shell is not started."); } if (_channel != null) { _channel.Dispose(); } }
/// <summary> /// Stops this shell. /// </summary> public void Stop() { _sshShell.Stop(); }