示例#1
0
 public void StartCapture(PcapDotNet.Core.HandlePacket PacketHandler, LivePacketDevice device)
 {
     _device = device;
     StartCapture(PacketHandler);
 }
示例#2
0
文件: Listener.cs 项目: bmuthoga/dipw
 //functions
 public void StartCapture(PcapDotNet.Core.HandlePacket PacketHandler)
 {
     _packetHandler = PacketHandler;
     _bgWorker.DoWork += new DoWorkEventHandler(DoWork);
     _bgWorker.RunWorkerAsync();
 }
示例#3
0
 //functions
 public void StartCapture(PcapDotNet.Core.HandlePacket PacketHandler)
 {
     _packetHandler    = PacketHandler;
     _bgWorker.DoWork += new DoWorkEventHandler(DoWork);
     _bgWorker.RunWorkerAsync();
 }