当前位置: 首页 > 编程语言 > C#

获取IP地址分享

时间:2023-04-10 17:30:38 C#

C#中获取IP地址:IPHostEntryIPHost=Dns.GetHostEntry(Dns.GetHostName());for(inti=0;i