如何从MAC或IP地址获取设备类型? [英] How to get device type from MAC or IP address?

查看:761
本文介绍了如何从MAC或IP地址获取设备类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用C#开发一个Device Discovery Windows应用程序.如果我有MAC地址或IP地址,是否可以知道设备类型?

I am making a Device Discovery windows application in C#. Is this possible to know the device type if I have MAC address or IP address?

设备类型意味着它是计算机,路由器,移动设备还是任何其他设备?

device type means either it is computer or router or mobile or any other device?

注意:HostName条目对它没有用,因为Host Name是由User定义的.例如,我可以为计算机分配诺基亚N70"名称.

Note: HostName entry is not useful for it because Host Name is defined by User. for example i may assign "Nokia N70" name to my computer.

感谢您的期待.

推荐答案

您可以从MAC地址获取制造商.为了获取更多信息,您需要进行端口扫描,以对相关设备进行指纹识别".

You can get the manufacturer from the MAC address. In order to get any more information you'd need to do a port scan to do a 'fingerprint' of the device in question.

诸如 NMAP 的应用程序使用这种方法.

Application such as NMAP use this approach.

这篇关于如何从MAC或IP地址获取设备类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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