Pcap.openOffline

Pcap openOffline(string path)

Opens an offline capture from a pcap file.

Parameters

pathThe path to the file.

Returns

A new Pcap instance.

Throws

PcapException if the file cannot be opened.