Packet Sniffer SDK VCL Edition

HNPSManager :: Properties :: WANMonitorState

 Previous Next

Sets/Returns the WAN Monitor installation status.

Syntax:

property WANMonitorState: BOOL;

Description:

WANMonitorState value indicates the WAN Monitor installation status. TRUE - WAN Monitor is installed, FALSE - WAN Monitor is not installed.

There are Miniport WAN (Network monitor) device in the Win2k, XP, Win2003, and Vista operation systems. To capture Dial-Up connection traffic you should open this device, and set its MAC filter (HNAdapter.MacFilter property) in mfAll.

Miniport WAN (Network monitor) device has system name \Device\NdisWanBh, which can be retrieved from the HNAdapterConfig object by AdapterName property.

Use WANMonitorState to get or change the WAN Monitor installation status.

WANMonitorState is not supported in the Windows NT 4.0.
See also:HNPSManager, HNAdapterConfig, HNAdapterConfig.AdapterName, HNAdapter, HNAdapter.MacFilter