System.Net.IPAddress ip = System.Net.IPAddress.Parse(Request.UserHostAddress); 
System.Net.IPHostEntry ihe = System.Net.Dns.GetHostEntry(ip); 
tbxComputerName.Text = ihe.HostName;//主机名这个是取得客户端机器名,假如在同一个局域网内的机器(局域网内所以机器在公网的IP都是一样的),取得的用户名是不是都一样de