private bool UsesMobileBrowser()
        {
            if (!client.Success)
            {
                return(false);
            }
            var match = client.Match;

            return(match.Type == ClientType.Browser.Name &&
                   BrowserParser.IsMobileOnlyBrowser(((BrowserMatchResult)match).ShortName));
        }
        private static bool IsMobileBrowser(string userAgent)
        {
            ParseResult <ClientMatchResult> client = DetectClient(userAgent);

            if (!client.Success)
            {
                return(false);
            }
            var match = client.Match;

            return(match.Type == ClientType.Browser.Name &&
                   BrowserParser.IsMobileOnlyBrowser(((BrowserMatchResult)match).ShortName));
        }