Sniff the device accessing the site RRS feed

  • Question

  • User-410639770 posted

    Hi there,


    I want to add mobile device access to a website using mobile forms to sit alongside the browser version.

    What API's are available to me to detect if it is a web browser vs a mobile or pda?

    Do I just check using IsMobile in a default page and redirect? Is this he best approach?

    If some one can give me some example code to get started would be great thanks.


    Tuesday, March 21, 2006 4:47 PM

All replies

  • User-1963647621 posted

    One way is to detect the UserAgent .. and parse it correctly to see if it is a handset tht u want to support

    string _useragent = Request.UserAgent;

    Tuesday, April 4, 2006 11:28 AM