Public Member Functions | |
| HRESULT | Start (void) |
| Start packet capture. | |
| HRESULT | Stop (void) |
| Stop packet capture. | |
| HRESULT | Reset (void) |
| Reset network adapters collection . | |
Properties | |
| IDispatch ** | Adapters [get] |
| Network adapters. | |
| IDispatch ** | Adapter [get] |
| Selected network adapter. | |
| BSTR * | Copyright [get] |
| Get copyright information. | |
| VARIANT_BOOL * | IsRunning [get] |
| Get running state. | |
You can use this interface to enumerate currently available network adapters , select target adapter for packet capture and start or stop packet capture session.
| HRESULT IPktXPacketX::Start | ( | void | ) |
Start packet capture.
Starts packet capture or statistics collection.
| HRESULT IPktXPacketX::Stop | ( | void | ) |
| HRESULT IPktXPacketX::Reset | ( | void | ) |
Reset network adapters collection .
Use this method to reset the contents of adapters collection to reflect currently available network interfaces.
HRESULT IPktXPacketX::Adapters [get] |
Network adapters.
Returns collection of currently available network interfaces.
HRESULT IPktXPacketX::Adapter [get] |
HRESULT IPktXPacketX::Copyright [get] |
HRESULT IPktXPacketX::IsRunning [get] |