Dns.GetHostByName(Dns.GetHostName()).AddressList[ 0 ]; 转载于:https://www.cnblogs.com/likang/archive/2007/07/25/830989.html