//Server Name
"Server Name": Server
"Server Domain": Request
"Server Port": Request
"Web Server Version": Request
"Virtual Request Path": Request
"Physical Request Path": Request
"Virtual Application Root Path": Request
"Physical Application Root Path": Request
"Operating System Installation Directory": Environment
"
"
"Server Current Time": DateTime
"System Uptime": TimeSpan
"Script Timeout": TimeSpan
//Get Request Headers
//eg:Connection
foreach (string key in Request
{
Request
}
//Get Server Variables
//eg:ALL_HTTP
foreach (string key in Request
{
Request
}
From:http://tw.wingwit.com/Article/program/net/201311/14250.html