C# Class SharpPcap.PcapOfflineDevice

Capture packets from an offline pcap file
Inheritance: SharpPcap.PcapDevice
Mostrar archivo Open project: Zepheus/Fiesta_Utils Class Usage Examples

Public Methods

Method Description
Open ( ) : void

Opens the device for capture

Open ( bool promiscuous_mode ) : void

Opens the device for capture

Open ( bool promiscuous_mode, int read_timeout ) : void

Opens the device for capture

SetFilter ( string filter ) : void

Setting a capture filter on this offline device is not supported

Private Methods

Method Description
PcapOfflineDevice ( string pcapFile ) : System

Constructs a new offline device for reading pcap files

Method Details

Open() public method

Opens the device for capture
public Open ( ) : void
return void

Open() public method

Opens the device for capture
public Open ( bool promiscuous_mode ) : void
promiscuous_mode bool This parameter /// has no affect on this method since it's an /// offline device
return void

Open() public method

Opens the device for capture
public Open ( bool promiscuous_mode, int read_timeout ) : void
promiscuous_mode bool This parameter /// has no affect on this method since it's an /// offline device
read_timeout int This parameter /// has no affect on this method since it's an /// offline device
return void

SetFilter() public method

Setting a capture filter on this offline device is not supported
public SetFilter ( string filter ) : void
filter string
return void