[Winpcap-users] MAC address

Gianluca Varenni gianluca.varenni at cacetech.com
Tue Mar 31 13:35:38 PDT 2009


At the moment there is no way to get the MAC address from the pcap API, the only way to get it is to use the Packet API, as documented in the sample WpdPack\Examples-remote\PacketDriver\GetMacAddress of the WinPcap developer's pack.

Have a nice day
GV
  ----- Original Message ----- 
  From: Ziara . 
  To: winpcap 
  Sent: Tuesday, March 31, 2009 2:42 AM
  Subject: [Winpcap-users] MAC address


  Hello.

  I have a question about mac address, how can I get the mac address of a specific network adapter? 

  When I find all devices in a computer and I chose the device that I want to use for capturing, I show some information like IP address, mask, host name, so on, and I would like to display the mac address too.

  I know how to retrieve all the mac address of a pc, but I only want the mac addres which belongs to a specific network adapter. 

  Thanks in advance.


------------------------------------------------------------------------------
  Nuevo Windows Live, un mundo lleno de posibilidades Descúbrelo. 


------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090331/f8ffe0d2/attachment-0001.htm 


More information about the Winpcap-users mailing list