CefSharp 浏览器内核UserAgent如何将设备种类设置为mobile

https://img-mid.csdnimg.cn/release/static/image/mid/ask/978532689466169.jpg "#left")
CefSharp 浏览器内核UserAgent如何将设备种类设置为mobile,如图!
想要的答案,是否可以提供下源码(CefSharp),或者相关资料

参考
http://t.csdn.cn/2e6Rg

Mobile有不少格式,只要设置其中一种就可以了,比如:

var setting = new CefSharp.CefSettings();  
setting.UserAgent = "Mozilla/5.0 (Linux; U; Android 8.1.0; zh-cn; BLA-AL00 Build/HUAWEIBLA-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.132 MQQBrowser/8.9 Mobile Safari/537.36";  
CefSharp.Cef.Initialize(setting, true, false); 

参考这个(手机User-Agent大全):https://blog.csdn.net/he_ranly/article/details/88907820

打开更多种类,添加你想要的种类就有了

CefSharp对UserAgent操作的相关资料可以参考下边链接:
CefSettings.UserAgent Property
.NET(C#) CefSharp 设置浏览器默认语言和userAgent及示例代码-CJavaPy

https://blog.csdn.net/fanohaigua/article/details/112981586?ops_request_misc=&request_id=&biz_id=102&utm_term=CefSharp%20%E6%B5%8F%E8%A7%88%E5%99%A8%E5%86%85%E6%A0%B8UserAgent%E5%A6%82%E4%BD%95%E5%B0%86%E8%AE%BE%E5%A4%87%E7%A7%8D%E7%B1%BB&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~sobaiduweb~default-2-112981586.nonecase&spm=1018.2226.3001.4450

手机User-Agent大全_润年的博客-CSDN博客_手机ua 可以看看这篇博客

chromium 的浏览器ua 在src\content\common\user_agent.cc

std::string BuildUserAgentFromOSAndProduct(const std::string& os_info,
                                           const std::string& product) {
  // Derived from Safari's UA string.
  // This is done to expose our product name in a manner that is maximally
  // compatible with Safari, we hope!!
  std::string user_agent;
  base::StringAppendF(
      &user_agent,
      "Mozilla/5.0 (%s) AppleWebKit/%d.%d (KHTML, like Gecko) %s Safari/%d.%d",
      os_info.c_str(),
      WEBKIT_VERSION_MAJOR,
      WEBKIT_VERSION_MINOR,
      product.c_str(),
      WEBKIT_VERSION_MAJOR,
      WEBKIT_VERSION_MINOR);
  return user_agent;
}


https://blog.csdn.net/longji/article/details/81903318?app_version=5.9.0&code=app_1562916241&csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%2281903318%22%2C%22source%22%3A%22u013278255%22%7D&uLinkId=usr1mkqgl919blen&utm_source=app