MrSmoofy

MrSmoofy

  • NA
  • 3
  • 2.4k

Windows Phone 6.5 not recogized by .NET as Mobile Device

Oct 13 2011 7:49 AM

I have an application that acts differently based on Request.Browser.IsMobileDevice

So far all the devices that use are application have been older windows mobile devices (5 and earlier)

We have a new devices that has Windows Mobile 6 and the user agent for the browser shows up as:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Windows Phone 6.5)

But the Request.Browser.IsMobileDevice is always false.

I found an article about a WM6Plus.browser file which I tried putting in the framework folder and registering it with the util and also tried adding it to the application to App_Browsers but neither has helped.

This is with .NET 3.5 (2.0 Framework) that I'm trying to get this to work correctly.


Answers (3)