C# Class SharpPcap.PcapOfflineDevice

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

Méthodes publiques

Méthode 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

Méthode Description
PcapOfflineDevice ( string pcapFile ) : System

Constructs a new offline device for reading pcap files

Method Details

Open() public méthode

Opens the device for capture
public Open ( ) : void
Résultat void

Open() public méthode

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
Résultat void

Open() public méthode

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
Résultat void

SetFilter() public méthode

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