コード例 #1
0
        /// <summary>
        /// Returns true (1) if the certificate status has any error, major or minor.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_ssl_info_capi.h">cef/include/capi/cef_ssl_info_capi.h</see>.
        /// </remarks>
        public static bool IsCertStatusError(CfxCertStatus status)
        {
            var call = new CfxRuntimeIsCertStatusErrorRemoteCall();

            call.status = (int)status;
            call.RequestExecution();
            return(call.__retval);
        }
コード例 #2
0
ファイル: CfrRuntime.cs プロジェクト: tianqiq/ChromiumFX
        /// <summary>
        /// Returns true (1) if the certificate status has any error, major or minor.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_ssl_info_capi.h">cef/include/capi/cef_ssl_info_capi.h</see>.
        /// </remarks>
        public static bool IsCertStatusError(CfxCertStatus status)
        {
            var connection = CfxRemoteCallContext.CurrentContext.connection;
            var call       = new CfxRuntimeIsCertStatusErrorRemoteCall();

            call.status = (int)status;
            call.RequestExecution(connection);
            return(call.__retval);
        }