摘要:
public static bool IsMobile() { string agent = (HttpContext.Current.Request.UserAgent + "").ToLower().Trim(); if (agent == "" || agent.IndexOf("mozilla") != -1 || agent.IndexOf("opera") != -1) return false; return true; }public bool IsWap() { string agent = (R 阅读全文
posted @ 2013-04-12 13:13
老皆知
阅读(330)
评论(0)
推荐(0)