Getting Ethernet Address

Dec 14, 2010 at 12:21 PM
Edited Dec 14, 2010 at 1:18 PM

Hi guys,  I am trying to getting ethernet card address which is like xx:xx:xx:xx:xx:xx.

 But LivePacketDevice.Address[0] give me the ip, broadcast address.

How can i getting the above format of ethernet address...

Documentation  contains single line explanation of classes and interfaces, i need some more explanations sorry to tell this because i am beginner sir...

If any links is there tell me..


Thanks in advance


Dec 14, 2010 at 5:22 PM



There is an extension method for LivePacketDevice in PcapDotNet.Core.Extensions which is called GetMacAddress().

This is what you seem to need.