摘要: string sUserAgent = Request.UserAgent.ToLower(); bool bIsIpad = Regex.IsMatch(sUserAgent, "ipad"); bool bIsIphoneOs = Regex.IsMatch(sUserAgent, "iphone"); bool bIsAndroid = Regex.IsMatch(sUserAgent, "android"); bool bIsWP = Regex.IsMatch(sUserAgent, "windows phone& 阅读全文
posted @ 2013-03-14 10:13 Peter_youny 阅读(273) 评论(0) 推荐(0) 编辑