protected override bool GetAuthCredentials(CefBrowser browser, string originUrl, bool isProxy, string host, int port, string realm, string scheme, CefAuthCallback callback) { //TODO: A custom dialog should be implemented to get username and password here. var e = new AuthCredentialsEventArgs(originUrl, isProxy, host, port, realm, scheme, callback); _owner.InvokeIfRequired(() => _owner.OnGetAuthCredentials(e)); return(!e.CancelRequestImmediately); }