Getting a machine's MAC address given a NETBIOS machine name or IP address 
Author Message
 Getting a machine's MAC address given a NETBIOS machine name or IP address

If anyone knows how to retrieve a machines MAC address by using the machine
name or IP address as the key, please let me know.   I think this will
probably be accomplished using some NETBIOS routine inside of NETAPI32.DLL
but not exactly sure how to do this.
It would be really cool if I could pass a machine name like "BGates"  or an
IP address and have an API function return that machine's MAC/LANA address.
Thanks in advance.

Scott



Tue, 03 Apr 2001 03:00:00 GMT  
 Getting a machine's MAC address given a NETBIOS machine name or IP address
Hey,

sorry I couldn't help you directly but...
Search your ARP-Cache (perhaps you write him into a File). In the Arp cache
do you find the IP and the MAC (refer the RFC for ARP)
If you will find a better solution, perhaps you will know me !

HTH,

Michael
Scott McFadden schrieb in Nachricht ...

Quote:
>If anyone knows how to retrieve a machines MAC address by using the machine
>name or IP address as the key, please let me know.   I think this will
>probably be accomplished using some NETBIOS routine inside of NETAPI32.DLL
>but not exactly sure how to do this.
>It would be really cool if I could pass a machine name like "BGates"  or an
>IP address and have an API function return that machine's MAC/LANA address.
>Thanks in advance.

>Scott




Sun, 08 Apr 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Getting remote machine MAC address

2. Getting the ip address based on the MAC Address

3. Getting IP address of current machine with VB5

4. Getting IP Address on machine I am using

5. Getting IP address of current machine with VB5

6. Getting Local IP Address of Machine

7. Getting IP Address of Local Machine

8. Getting IP address of current machine with VB5

9. Getting IP address of current machine with VB5

10. Getting the IP addresses of remote machines

11. getting machine info from an IP address

12. Getting Local machine IP address

 

 
Powered by phpBB® Forum Software