tags:

views:

709

answers:

2

Is it possible to get the mac address for a remote connection under NT4. The remote pc opens a socket connection into the program and I can get the ip address but need the mac. I have tried using SendARP but this doesn't seem to be supported in NT4.

A: 

Try GetIpNetTable. This function is documented as supported as of NT 4.0 SP4.

Mike Dimmick
A: 

Hope the machine isn't too remote. MAC addresses will only be known for the local network (subnet).

Adam Mitz