using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace XUnity.AutoTranslator.Plugin.Core.Constants { /// /// Class defining user agents for various browsers. /// /// Updated 2019-02-09. /// public static class UserAgents { /// /// Latest Chrome Win10 user-agent as of 2019-02-09. /// public static readonly string Chrome_Win10_Latest = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"; /// /// Latest Chrome Win7 user-agent as of 2019-02-09. /// public static readonly string Chrome_Win7_Latest = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"; /// /// Latest Firefox Win10 user-agent as of 2019-02-09. /// public static readonly string Firefox_Win10_Latest = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"; /// /// Latest Edge Win10 user-agent as of 2019-02-09. /// public static readonly string Edge_Win10_Latest = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134"; } }