<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=KOI8-R>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=vbor@isd.dp.ua href="mailto:vbor@isd.dp.ua">Vasily Borovyak</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, April 11, 2006 7:08
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Winpcap-users] Getting
Adapters Mac Address</DIV>
<DIV><FONT face="Courier New" size=2></FONT><BR></DIV>
<DIV><TT> PPACKET_OID_DATA pOidData;<BR> CHAR
*pStr;<BR> pStr = new CHAR[sizeof(PACKET_OID_DATA)+128];<BR>
ZeroMemory(pStr, sizeof(PACKET_OID_DATA)+128);<BR> pOidData =
(PPACKET_OID_DATA) pStr;<BR> pOidData->Oid =
OID_802_3_CURRENT_ADDRESS;<BR> pOidData->Length = 6;<BR> result
= PacketRequest(lpAdapter, FALSE, pOidData);<BR> /*
pOidData->Data[0], pOidData->Data[1], ...- this is MAC*/<BR><BR><BR>I
don't know if it work with current 3.1 version.<BR></TT></DIV></BLOCKQUOTE>
<DIV><TT>Yes, it still works.</TT></DIV>
<DIV><TT></TT> </DIV>
<DIV><TT>Have a nice day</TT></DIV>
<DIV><TT>GV</TT><TT></DIV>
<DIV><BR><BR></TT><BR>Bhuvanes V wrote: </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<BLOCKQUOTE cite=mida9099e90604110649w21f731aagc9ca6940208b7a68@mail.gmail.com
type="cite">
<P>Hi All,<BR>
Can anyone please guide me how to get the mac address of<BR>Adapters
connected in a local machine. I know we have APIs to get the <BR>device
list.<BR>1) What is the API to get Mac Addresses of those device list?
<BR>2) Usage of those APIs.</P>
<P>Thanks in Advance :)</P>
<P>Bhuvan</P>
<P> </P><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
Winpcap-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</A>
<A class=moz-txt-link-freetext href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</A>
</PRE></BLOCKQUOTE><BR><PRE class=moz-signature cols="80">--
Best regards. Vasily Borovyak <A class=moz-txt-link-rfc2396E href="mailto:vbor@isd.dp.ua"><vbor@isd.dp.ua></A></PRE>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>