locked
Detecting mobile devices RRS feed

  • Question

  • User1729970514 posted

    Hi, 

    I have recently created a web application using the.net mobile controls. This application has an index page in which I check for the Browser capabilities 'isMobileDevice'.

    and then I redirect to the mobile version or to the web version of the website.

    However this method does not always work because there are many new devices on the market today and the device update http://www.asp.net/mobile/device-updates/ has stopped at version 4.

    What is then the best way to detect if a request is from a mobile device?

    Thanks

    Meirav

    Friday, September 28, 2007 7:01 AM

All replies

  • User-1137255554 posted

    You can use the HttpBrowserCapabilities class and check if the request is from a WAP browser or a web browser.

    CJ.

     

    Wednesday, October 3, 2007 4:17 PM