Пример #1
0
        protected override bool OnCertificateError(CefBrowser browser, CefErrorCode certError, string requestUrl, CefSslInfo sslInfo, CefRequestCallback callback)
        {
            var e = new CertificateErrorEventArgs(certError, requestUrl, sslInfo, callback);

            _owner.InvokeIfRequired(() => _owner.OnCertificateError(e));

            return(!e.CancelRequestImmediately);
        }