Re: Mac Address Control
From: Randy Birch (rgb_removethis_at_mvps.org)
Date: 08/09/04
- Next message: Randy Birch: "Re: Assign a checkbox a numeric value?"
- Previous message: Veign: "Re: Mac Address Control"
- In reply to: Sharrukin Amiri: "Mac Address Control"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 9 Aug 2004 12:38:21 -0400
You can fire up one yourself using
http://vbnet.mvps.org/code/network/macaddress.htmand
http://vbnet.mvps.org/code/network/macaddressremote.htm. The latter provides
for determining both the local MAC address and the MAC for a remote machine.
The first requires NetBIOS, the second uses SendArp. Either provides the
address for the first active MAC address found, so you may want to also
include http://vbnet.mvps.org/code/network/netbiosenumlana.htm to enumerate
the LANA numbers for machines with multiple cards, so you can adjust the
routines to retrieve the MAC for each card. Note however that for either to
work the card must be "on" - active. An inactive card does not expose its
MAC address.
-- Randy Birch MVP Visual Basic http://vbnet.mvps.org/ Please respond only to the newsgroups so all can benefit. "Sharrukin Amiri" <sharrukin@amtekcenter.com> wrote in message news:mBMRc.140$ne7.534@news20.bellglobal.com... : Does anybody know of an OCX control that can read MAC Addresses? : -- : : : Warm regards, : : Sharrukin Amiri, Eng. : Senior Solutions Architect : : Em : sharrukin@amtekcenter.com : Web: http://www.amtekcenter.com : Tel: 1-514-485-1000 (Canada) : 1-408-216-4790 (USA) : :
- Next message: Randy Birch: "Re: Assign a checkbox a numeric value?"
- Previous message: Veign: "Re: Mac Address Control"
- In reply to: Sharrukin Amiri: "Mac Address Control"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|