By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,843 Members | 864 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,843 IT Pros & Developers. It's quick & easy.

Perform ARP request via code

P: n/a
I need a routine to get a MAC address for a given IP address.

I don't want to use WMI as I don't want to depend on WMI being available on
the remote machine, or desktop firewalls getting in the way. So would like
to do this via the lowest most compatible level possible, i.e and ARP
request.

Could someone post some working VB code? I've seen examples of C# code using
the SendARP API but I've not had any success in converting it to VB.Net.

I'm using VB 2005 and .net 2.0

Cheers
Oct 20 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Stuart Parker" <mr******@nospam-hotmail.comwrote in
news:OR**************@TK2MSFTNGP02.phx.gbl:
I don't want to use WMI as I don't want to depend on WMI being
available on the remote machine, or desktop firewalls getting in the
way. So would like to do this via the lowest most compatible level
possible, i.e and ARP request.
Not sure if .NET has any classes to do that type of stuff - but it would be
pretty easy to parse it from the command line ARP utility.

Oct 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.