File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,18 @@ namespace CefSharp
9696 void set (bool value) { _cefSettings->command_line_args_disabled = value; }
9797 }
9898
99+ // / <summary>
100+ // / Set to true to enable date-based expiration of built in network security information (i.e. certificate transparency logs,
101+ // / HSTS preloading and pinning information). Enabling this option improves network security but may cause HTTPS load failures when
102+ // / using CEF binaries built more than 10 weeks in the past. See https://www.certificate-transparency.org/ and
103+ // / https://www.chromium.org/hsts for details. Can be set globally using the CefSettings.EnableNetSecurityExpiration value.
104+ // / </summary>
105+ property bool EnableNetSecurityExpiration
106+ {
107+ bool get () { return _cefSettings->enable_net_security_expiration == 1 ; }
108+ void set (bool value) { _cefSettings->enable_net_security_expiration = value; }
109+ }
110+
99111 // / <summary>
100112 // / Set to true to control browser process main (UI) thread message pump
101113 // / scheduling via the IBrowserProcessHandler.OnScheduleMessagePumpWork
You can’t perform that action at this time.
0 commit comments