From 07e07eef16db9902eeabbf007e27e1ab5a7ab633 Mon Sep 17 00:00:00 2001 From: Fidel Perez-Smith Date: Tue, 8 Nov 2022 08:03:22 +1100 Subject: [PATCH] For reading from a capture, use Capture() instead of StartCapture() (#430) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 94ca4817..218d1405 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ See the [Examples](https://github.com/chmorgan/sharppcap/tree/master/Examples) f using var device = new CaptureFileReaderDevice("filename.pcap"); device.Open(); device.OnPacketArrival += Device_OnPacketArrival; - device.StartCapture(); + device.Capture(); ``` ## Writing to a capture file