public static cef_time_t get_valid_expiry(cef_sslinfo_t* self)
 {
     get_valid_expiry_delegate d;
     var p = self->_get_valid_expiry;
     if (p == _pa) { d = _da; }
     else
     {
         d = (get_valid_expiry_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_valid_expiry_delegate));
         if (_pa == IntPtr.Zero) { _da = d; _pa = p; }
     }
     return d(self);
 }
        public static cef_time_t get_valid_expiry(cef_x509certificate_t *self)
        {
            get_valid_expiry_delegate d;
            var p = self->_get_valid_expiry;

            if (p == _p8)
            {
                d = _d8;
            }
            else
            {
                d = (get_valid_expiry_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_valid_expiry_delegate));
                if (_p8 == IntPtr.Zero)
                {
                    _d8 = d; _p8 = p;
                }
            }
            return(d(self));
        }