其实既然IP获取到了,那可以轻易以IP来获取电脑名称:
代码如下:
System.Net.Dns.GetHostEntry("xxx.xxx.xxx.xxx").HostName
查看更多关于以IP来获取客户端电脑名称(一句代码实现)的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did34840
System.Net.Dns.GetHostEntry("xxx.xxx.xxx.xxx").HostName
查看更多关于以IP来获取客户端电脑名称(一句代码实现)的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did34840