Esempio n. 1
0
 public void StartCapture(PcapDotNet.Core.HandlePacket PacketHandler, LivePacketDevice device)
 {
     _device = device;
     StartCapture(PacketHandler);
 }
Esempio n. 2
0
 //functions
 public void StartCapture(PcapDotNet.Core.HandlePacket PacketHandler)
 {
     _packetHandler = PacketHandler;
     _bgWorker.DoWork += new DoWorkEventHandler(DoWork);
     _bgWorker.RunWorkerAsync();
 }
Esempio n. 3
0
 //functions
 public void StartCapture(PcapDotNet.Core.HandlePacket PacketHandler)
 {
     _packetHandler    = PacketHandler;
     _bgWorker.DoWork += new DoWorkEventHandler(DoWork);
     _bgWorker.RunWorkerAsync();
 }