From 7ce5d171a895ea5bfb1bb00401384870feb36b8e Mon Sep 17 00:00:00 2001 From: Kyle Julian <38759683+kylejuliandev@users.noreply.github.com> Date: Sun, 2 Jun 2024 23:42:15 +0100 Subject: [PATCH] Update README to specify GetPacket not Packet (#514) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 964b9ba4..304a3b5c 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ See the [Examples](https://github.com/chmorgan/sharppcap/tree/master/Examples) f ```cs void Device_OnPacketArrival(object s, PacketCapture e) { - Console.WriteLine(e.Packet); + Console.WriteLine(e.GetPacket()); } using var device = LibPcapLiveDeviceList.Instance[0]; @@ -86,7 +86,7 @@ See the [Examples](https://github.com/chmorgan/sharppcap/tree/master/Examples) f ```cs void Device_OnPacketArrival(object s, PacketCapture e) { - Console.WriteLine(e.Packet); + Console.WriteLine(e.GetPacket()); } using var device = new CaptureFileReaderDevice("filename.pcap");