Azeem Akram
Azeem Akram

Reputation: 233

How to get device type from MAC or IP address?

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?

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.

Thanks in anticipation.

Upvotes: 3

Views: 32265

Answers (3)

Ed Kirk
Ed Kirk

Reputation: 583

Non-spoofed MAC addresses do include a manufacturers string at the start, but I don't know of any publicly available database that holds them. There is also no device mapping after this.

The matter is even more complex when you add in the use of virtual machines, which require there own MAC address.

IP addresses, no they are assigned by network administrators however they want, often virtually random.

So in short no.

Upvotes: 1

Nick
Nick

Reputation: 25799

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.

Application such as NMAP use this approach.

Upvotes: 3

Shai
Shai

Reputation: 25619

IP Address: No. The Internet Protocol address can not help you figure out which device is being used

As for the MAC address: See this website.

Basicly, each vendor 'owns' a range of MAC addresses, this specific website can ever offer you the range used for each vendor. pretty neat.

Upvotes: -1

Related Questions