///
/// 获得请求的浏览器类型
///
///
public static string GetBrowserType()
{
string type = HttpContext.Current.Request.Browser.Type;
if (string.IsNullOrEmpty(type))
return "未知";
return type.ToLower();
}
///
/// 获得请求的浏览器名称
///
///
public static string GetBrowserName()
{
string name = HttpContext.Current.Request.Browser.Browser;
if (string.IsNullOrEmpty(name))
return "未知";
return name.ToLower();
}
///
/// 获得请求的浏览器版本
///