一 本地计算机名
1.System.Environment.MachineName
2. Server.MachineName
3.Dns.GetHostName();
二:本地计算机登录名
System.Environment.UserName
三:Domain
Request.ServerVariables["SERVER_NAME"]
四:端口号
Request.ServerVariables["SERVER_PORT"]
五:服务器版本
Request.ServerVariables["SERVER_SOFTWARE"]
六其他:
Server.ScriptTimeout.ToString()
Request.ServerVariables["APPL_PHYSICAL_PATH"];
System.Environment.Version.ToString();
System.Environment.OSVersion.ToString();
this.Session.Count.ToString();
this.Application.Count.ToString();
System.Environment.ProcessorCount.ToString();
//csharp/1143