I need to get a phone's user agent string, but I haven't found anything in the API that allows this. I've come across the following two blog posts describing the format of the user agent string:
http://blogs.msdn.com/b/iemobile/archive/2010/03/25/ladies-and-gentlemen-please-welcome-the-ie-mobile-user-agent-string.aspx
http://madskristensen.net/post/Windows-Phone-7-user-agents.aspx
But I haven't found a method that can return the user agent. Has anyone been able to do this successfully?
Go to http://whatsmyuseragent.com using the phone in question.
From my Samsung Focus: Mozilla/4.0 (compatible: MSIE 7.0; Windows Phone OS 7.0; Trident/3.1; IEMobile/7.0; SAMSUNG; SGH-i917)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With