protected virtual void Dispose(bool managed) { if (managed) { if (authenticationWebBrowser != null) { authenticationWebBrowser.Dispose(); } } }