Retrieving the MAC address of remote machine in NDIS IM driver?

  • Thread starter Thread starter Rajesh Gupta
  • Start date Start date
R

Rajesh Gupta

How can i retrieve the MAC address of remote machine in NDIS driver? I know
the IP address.

Is there anyway of getting the MAC address programatically from the ARP
table?

Thanks in advance.
Rajesh
 
Drop to a DOS prompt and run the following(CASE SENSITIVE):

nbtstat -A [ip address]
or
nbtstat -a [machine name]

eg: nbtstat -A 10.88.12.253

hope this helps
Adam
 
Back
Top