Skip to content

Commit

Permalink
Update README to specify GetPacket not Packet (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylejuliandev authored Jun 2, 2024
1 parent a9c2893 commit 7ce5d17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -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");
Expand Down

0 comments on commit 7ce5d17

Please sign in to comment.