FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour GetNetCardID question
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM

GetNetCardID question

Posted: Mon Sep 08, 2008 05:55 AM

Hello,

Is there a way to find out the MAC-adress of another PC?
I want to know the MAC-adress of the server on a network?

Thanks,
Marc

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

GetNetCardID question

Posted: Mon Sep 08, 2008 10:05 AM

Marc,

This seems to be what you are looking for:

http://msdn.microsoft.com/en-us/library/aa366358(VS.85).aspx

"The SendARP function is used to request the physical hardware address (sometimes referred to as the MAC address) that corresponds to a specified destination IPv4 address."

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM

GetNetCardID question

Posted: Mon Sep 08, 2008 10:14 AM

Thanks,

I will take a look at it.

Regards,
Marc

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite

Continue the discussion