如何在LivePacketDevice中获得所选pcap.net的MAC地址?
var allDevices = LivePacketDevice.AllLocalMachine;
LivePacketDevice dev = allDevices[0];发布于 2016-03-05 07:47:36
使用LivePacketDeviceExtensions静态方法:
public static MacAddress GetMacAddress(this LivePacketDevice livePacketDevice)它是在PcapDotNet.Core.Extensions程序集中在PcapDotNet.Core.Extensions命名空间中定义的。
https://stackoverflow.com/questions/35730723
复制相似问题