How to get device type from MAC or IP address?

I am making a Windows Discovery Application in C #. Is it possible to find out the type of device if I have a MAC address or an IP address?

does the type of device mean it is a computer or router or mobile or any other device?

Note. The HostName record is not useful for it because the hostname is user-defined. for example, I can assign the name "Nokia N70" to my computer.

Thanks in anticipation.

+2


source to share


3 answers


You can get the manufacturer from the MAC address. For more information, you will need to perform a port scan to obtain a fingerprint of this device.



An application such as NMAP takes this approach.

+1


source


The non-automated MAC addresses include the beginning of the manufacturer string at the beginning, but I am not aware of any publicly available database that supports them. There is also no device display after that.

The issue is even more complicated when you add virtual machines to use that require their own MAC address.



IP addresses, they are not assigned by network administrators, but they want, often almost random.

So, briefly.

+1


source


IP Address: No. Internet protocol address cannot help you determine which device is in use

As for the MAC address: see this website.

Basically, each vendor "owns" a number of MAC addresses, this particular website can offer you the range to use for each vendor. pretty neat.

0


source







All Articles