Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > How to use an IP Address to get a MAC Address remotely.


Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2003, 08:49 PM
Meiiko Meiiko is offline
Newcomer
 
Join Date: May 2003
Posts: 2
Default How to use an IP Address to get a MAC Address remotely.


Hey everyone,

I want to find out the MAC Address of a computer on a network. The only information I have on the computer is its IP Address.

Is there a way to search an IP Address and get back the MAC Address of the computer that is using it?

Cheers in advance,

Meiiko The Non-Ape.
Reply With Quote
  #2  
Old 05-20-2003, 11:31 PM
M.C's Avatar
M.C M.C is offline
Junior Contributor
 
Join Date: Sep 2001
Location: Silicon Valley, CA
Posts: 266
Default

You have to use an ARP request. I dont know if its possible with winsock but this example runs the arp program through shell

http://www.planet-source-code.com/vb...33954&lngWId=1


Quote:
Originally Posted by Meiiko
Hey everyone,

I want to find out the MAC Address of a computer on a network. The only information I have on the computer is its IP Address.

Is there a way to search an IP Address and get back the MAC Address of the computer that is using it?

Cheers in advance,

Meiiko The Non-Ape.



P.S. Try the communications forum you'd probably get more detailed help there.
Reply With Quote
  #3  
Old 05-20-2003, 11:51 PM
OnErr0r's Avatar
OnErr0r OnErr0r is offline
Obsessive OPtimizer

Administrator
* Guru *
 
Join Date: Jun 2002
Location: Debug Window
Posts: 13,686
Default

French page, but the code is in English

http://perso.club-internet.fr/piraca...lenetbios2.htm
Reply With Quote
  #4  
Old 05-21-2003, 04:51 AM
Meiiko Meiiko is offline
Newcomer
 
Join Date: May 2003
Posts: 2
Default

Thanks very much guys, very helpful code!

Cheers,

Meiiko The Non-Ape.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inside the executable: A visual basic developer's guide to the portable executable Merrion Tutors' Corner 2 05-13-2003 02:27 AM
EMAIL ADDRESS FORMAT for Exchange Global Address Book Adresses ohmyigod Communications 5 05-02-2003 09:34 AM
Global Address List florida Web Programming 2 01-21-2003 04:16 AM
Using IP Address Control !! Sabby API 2 07-09-2002 03:47 PM
C/C++ Collection Classes Visual Developer Miscellaneous Languages 3 06-09-2002 01:05 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->