public void TestGetNextPacket() { using var device = new WinDivertDevice { Filter = "!loopback and tcp" }; device.Open(); var capture = device.GetNextPacket(); AssertTcp(capture); }
public void TestGetNextPacket() { using var device = new WinDivertDevice { Filter = "!loopback and tcp" }; PacketCapture e; device.Open(); device.GetNextPacket(out e); AssertTcp(e.GetPacket()); }