I was surprised from what I encountered from the Pcap file (using Wireshark) it shows only 169 bytes, however when I read it using offline reader the packet length increase to 223 bytes?
// Create the offline device
var selectedDevice = new OfflinePacketDevice(pcapFile);
// Open the capture file
var communicator = selectedDevice.Open(65536, PacketDeviceOpenAttributes.Promiscuous, 1000);
if (_packetFilter.Length > 0)
BerkeleyPacketFilter filter = communicator.CreateFilter(_packetFilter);
private static void PacketHandler(Packet packet)
var data = packet.Buffer;
var dataLength = packet.Length;
Anything should I consider or did I missed something?
Appreciate your help in advance.