protected virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _sshDevice?.Dispose(); _sshDevice = null; } _disposed = true; }
public ApcAP8959EU3(string host, int port, string username, string password) { _sshDevice = new SshDevice(host, port, username, password, ApcAP8959EU3.TerminalPrompt); }