private string GetClientBrowserVersions()
{
string browserVersions = string.Empty;
HttpBrowserCapabilities hbc = HttpContext.Current.Request.Browser;
string browserType = hbc.Browser.ToString(); //获取浏览器类型
string browserVersion = hbc.Version.ToString(); //获取版本号
browserVersions = browserType + browserVersion;
return browserVersions;
}