diff --git a/CefSharp.Core.Runtime/CefSettingsBase.h b/CefSharp.Core.Runtime/CefSettingsBase.h index 6d049095f..c8b3b85e5 100644 --- a/CefSharp.Core.Runtime/CefSettingsBase.h +++ b/CefSharp.Core.Runtime/CefSettingsBase.h @@ -359,6 +359,15 @@ namespace CefSharp void set(bool value) { _cefSettings->cookieable_schemes_exclude_defaults = value; } } + /// + /// The Chrome policy ID. This value is used to configure managed policies. + /// + property String^ ChromePolicyId + { + String^ get() { return StringUtils::ToClr(_cefSettings->chrome_policy_id); } + void set(String^ value) { StringUtils::AssignNativeFromClr(_cefSettings->chrome_policy_id, value); } + } + /// /// Registers a custom scheme using the provided settings. /// diff --git a/CefSharp.Core/CefSettingsBase.cs b/CefSharp.Core/CefSettingsBase.cs index 3c8870e1a..f53bead39 100644 --- a/CefSharp.Core/CefSettingsBase.cs +++ b/CefSharp.Core/CefSettingsBase.cs @@ -368,6 +368,15 @@ public bool CookieableSchemesExcludeDefaults set { settings.CookieableSchemesExcludeDefaults = value; } } + /// + /// The Chrome policy ID. This value is used to configure chrome enterprise policies. + /// + public string ChromePolicyId + { + get { return settings.ChromePolicyId; } + set { settings.ChromePolicyId = value; } + } + /// /// Registers a custom scheme using the provided settings. ///