Packet Sniffer SDK VCL Edition

HNAdapter :: Properties :: ConnectStatus

 Previous Next

Returns the status of the physical connection with the network.

Syntax:

property ConnectStatus: BOOL; // read only

Description:

Use this property only after the network adapter has been opened successfully (see OpenAdapter). ConnectStatus may be useful if you need to define whether the network adapter is plugged or not.

Changes of the device connection status may also be traced by OnStateChange event handler.

See also:HNAdapter, OpenAdapter, OnStateChange