diff --git a/CefSharp.Core.Runtime/CefSettingsBase.h b/CefSharp.Core.Runtime/CefSettingsBase.h index 6532fbeee..132ea6ee5 100644 --- a/CefSharp.Core.Runtime/CefSettingsBase.h +++ b/CefSharp.Core.Runtime/CefSettingsBase.h @@ -277,13 +277,13 @@ namespace CefSharp /// /// Value that will be inserted as the product portion of the default User-Agent string. If empty the Chromium product version - /// will be used. If UserAgent is specified this value will be ignored. Also configurable using the "product-version" command- + /// will be used. If UserAgent is specified this value will be ignored. Also configurable using the "user-agent-product" command- /// line switch. /// - property String^ ProductVersion + property String^ UserAgentProduct { - String^ get() { return StringUtils::ToClr(_cefSettings->product_version); } - void set(String^ value) { StringUtils::AssignNativeFromClr(_cefSettings->product_version, value); } + String^ get() { return StringUtils::ToClr(_cefSettings->user_agent_product); } + void set(String^ value) { StringUtils::AssignNativeFromClr(_cefSettings->user_agent_product, value); } } /// diff --git a/CefSharp.Core/CefSettingsBase.cs b/CefSharp.Core/CefSettingsBase.cs index 15db9a1ba..a6e7e3e32 100644 --- a/CefSharp.Core/CefSettingsBase.cs +++ b/CefSharp.Core/CefSettingsBase.cs @@ -244,13 +244,13 @@ namespace CefSharp /// /// Value that will be inserted as the product portion of the default User-Agent string. If empty the Chromium product version - /// will be used. If UserAgent is specified this value will be ignored. Also configurable using the "product-version" command- + /// will be used. If UserAgent is specified this value will be ignored. Also configurable using the "user-agent-product" command- /// line switch. /// - public string ProductVersion + public string UserAgentProduct { - get { return settings.ProductVersion; } - set { settings.ProductVersion = value; } + get { return settings.UserAgentProduct; } + set { settings.UserAgentProduct = value; } } ///