C# 获得主机IP地址

             string hostname = Dns.GetHostName();             IPHostEntry hostentry = Dns.GetHostEntry(hostname);             for(int i=0;i<hostentry.AddressList.Length;i++)             {             
相关文章
相关标签/搜索