3
Answers

Windows Phone 6.5 not recogized by .NET as Mobile Device

MrSmoofy

MrSmoofy

13y
2.1k
1

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)