根据网络上的IP地址获取系统名称 [英] Getting the System Name based on the IP address over the network

查看:177
本文介绍了根据网络上的IP地址获取系统名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生/女士,

我需要根据我拥有的IP地址获取系统名称.我的网络中有一个IP列表.但是我想要提供的IP地址的DNS名称(系统名称).请帮助我.谢谢.

Dear sir/Madam,

I am in the need of getting the System names based on the IP address I have. I have a list of IPs in my network. But I want the DNS Name(System Name) for the provided IP address.Please help me.Thanks in advance.

推荐答案

您好,

DNS类应帮助您解析名称,请参阅: http://msdn.microsoft .com/en-us/library/system.net.dns.aspx [ ^ ]
Hi,

The DNS class should help you to resolve the name, see: http://msdn.microsoft.com/en-us/library/system.net.dns.aspx[^]




您可以尝试使用此命令

nbtstat -a xxx.xxx.xxx.xxx

或ping -a xxx.xxx.xxx.xxx

这意味着您必须为每个IP进行很多操作.

干杯!
Hi,

You can try out this command

nbtstat -a xxx.xxx.xxx.xxx

or ping -a xxx.xxx.xxx.xxx

that means you have to do it for many each IP.

Cheers!


这篇关于根据网络上的IP地址获取系统名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆