IDelaydC interface

The IDelaydC interface provides the methods used to connect to the network, capture network traffic to a capture file, retrieve statistics, and disconnect from the network.

This interface captures frames from the network data stream and then copies the frames to a capture file. This interface is used by Network Monitor and NPP applications. To receive the network data, the targeted NIC must support promiscuous mode.

Members

The IDelaydC interface inherits from the IUnknown interface. IDelaydC also has these types of members:

Methods

The IDelaydC interface has these methods.

Method Description
Configure Submits configuration information used for a capture.
Connect Connects the NPP to the network.
Disconnect Disconnects the NPP from the network.
GetControlState Retrieves the state of the capture, which indicates if the capture is running or paused.
GetConversationStatistics Retrieves session and station information for the current capture.
GetTotalStatistics Extracts time, buffer, driver, and other network statistics from the currently running capture.
Pause Temporarily stops the current capture.
QueryStations Retrieves a list of all computers that use Network Monitor to capture data on a subnet.
QueryStatus Retrieves the status of the NPP.
Resume Resumes a paused capture.
Start Starts a capture and creates the capture file.
Stop Stops the current capture and closes the capture file.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h
DLL
Ndisnpp.dll;
Rmtnpp.dll