如何获得Windows Phone 7的useragent字符串?

CAC*_*lan 5 silverlight user-agent windows-phone-7

我需要获取手机的用户代理字符串,但我没有在API中找到允许这样做的任何内容.我遇到了以下两篇博客文章,描述了用户代理字符串的格式:

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

但我还没有找到可以返回用户代理的方法.有没有人能够成功地做到这一点?

Lee*_*Lee 4

使用相关手机访问http://whatsmyuseragent.com 。

来自我的三星焦点:Mozilla/4.0 (compatible: MSIE 7.0; Windows Phone OS 7.0; Trident/3.1; IEMobile/7.0; SAMSUNG; SGH-i917)