Re: Query ARP Cache in vb.net
From: mabuHB (mabuHB_at_discussions.microsoft.com)
Date: 11/25/04
- Next message: Mahesh Naik: "event handler"
- Previous message: Shiva: "Re: How to programmatically show the dropdown of a combobox in vb.net?"
- In reply to: Patrice: "Re: Query ARP Cache in vb.net"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 25 Nov 2004 06:31:02 -0800
Thanks, that certainly appears to do what I need. It looks like I could even
do away with the ping bit of my code. Now all I need is a vb.net equivalent.
M.
"Patrice" wrote:
> If you don't find what you need in .NET I believe you could call :
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/sendarp.asp
>
>
> Patrice
>
> --
>
> "mabuHB" <mabuHB@discussions.microsoft.com> a écrit dans le message de
> news:C51D33F7-3994-4214-8697-5D7948442629@microsoft.com...
> > I am trying to write a Wake-On-LAN utility for a local subnet. I can do
> the
> > Wake-On-LAN, but before this I need to find the MAC addresses on the local
> > LAN.
> >
> > I had planned to query DHCP on the WAN to get the MAC addresses, but there
> > are security restrictions in place that will restrict this. I have
> therefore
> > decided to ping all the devices on the local subnet, and then query the
> ARP
> > Cache and pick out the MAC addresses. I have got the ping bit (sort of)
> > working, but I don't know how to get the info out of the ARP Cache using
> > vb.net. (I can call dos commands and pipe to a text file and extract the
> info
> > from the text file, but I would rather query the cache directly).
> >
> > Does anybody know how to query the ARP Cache with vb.net code? Or can
> > anybody point me towards some info about this? I have searched the net and
> > trawled through various forums with no results what-so-ever.
> >
> > Any help will be much appreciated.
> >
> > Regards,
> >
> > Martin
>
>
>
- Next message: Mahesh Naik: "event handler"
- Previous message: Shiva: "Re: How to programmatically show the dropdown of a combobox in vb.net?"
- In reply to: Patrice: "Re: Query ARP Cache in vb.net"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|