IStats interface
The IStats interface provides the methods you use to connect an NPP to the network, capture network traffic, retrieve statistics, and disconnect the NPP from the network. This interface generates statistics without frames.
Members
The IStats interface inherits from the IUnknown interface. IStats also has these types of members:
Methods
The IStats interface has these methods.
Method | Description |
---|---|
Configure | Configures the trigger, pattern match, and buffer size of the capture file. |
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 about 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 are using Network Monitor to capture data on a subnet. |
QueryStatus | Retrieves the status of the NPP. |
Resume | Restarts a paused capture. |
Start | Starts the capture. |
Stop | Stops the current capture. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
DLL |
|