none
Browser Detection RRS feed

  • Question

  • Hello Team,

    we tried to found out the mobile browser using the "Request.Browser.Browser" method from C#

    We got the browser as "Safari" but we used to browse the site in "chrome"

    Please refer the useragent we retrieved "Mozilla/5.0 (iPad; CPU OS 7_0_6 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) CriOS/41.0.2272.58 Mobile/11B651 Safari/9537.53"  , hope this helps

    Note: We used chrome in Apple Ipad

    Thanks

    Ram

    • Moved by Eric Fleck Wednesday, April 1, 2015 4:49 PM non related to MDM protocol
    Tuesday, March 31, 2015 9:44 AM

Answers

  • Hello Ram,

    >>we tried to found out the mobile browser using the "Request.Browser.Browser" method from C#, We got the browser as "Safari" but we used to browse the site in "chrome"

    From your description, I do not quite understand what you mentioned “but we used to browse the site in "chrome"”, does the Request.Browser.Browser not give the you request result? If you want to know how to use this method in .NET, you could check this link:

    https://msdn.microsoft.com/en-us/library/system.web.httprequest.browser(v=vs.110).aspx

    And for your issue title, there is a sample you could refer to which could be what you want:

    How to: Detect Browser Types and Browser Capabilities in ASP.NET Web Forms

    Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, April 3, 2015 3:20 AM
    Moderator