protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { if (_netConfSession != null) { _netConfSession.Dispose(); _netConfSession = null; } } } }