IP地址:Request.UserHostAddress
操作系统:HttpContext.Current.Request.UserAgent.Split(';')[2].Trim()
浏 览 器:HttpContext.Current.Request.UserAgent.Split(';')[1].Trim()
操作系统:
case "Windows NT 5.0":
strResult = "Windows 2000";
break;
case "Windows NT 5.1":
strResult = "Windows XP";
break;
case "Windows NT 5.2":
strResult = "Windows Server 2003";
break;
浏 览 器:
strResult = strPara.Replace("MSIE", "Internet Explorer");