Packet Sniffer SDK VCL Edition

HNFileAdapter :: Properties :: MediumType

 Previous Next

Возвращает/устанавливает network adapter type, in format of which the packets are dumped to a CAP file.

Syntax:

property MediumType: DWORD;

Description:

Use MediumType to set the type of network adapter in format of which the packets are dumped to the CAP file.

On a CAP file creation (see HNFileAdapter.CreateFile) you should predetermine MediumType property: its value will be stored in CAP file, that allows to detect data format for this CAP file off-line processing.

The value of this property is defined by HNNetAdapterType enumeration.

See also:HNFileAdapter, HNNetAdapterType, HNFileAdapter.CreateFile