wcl |
The wclWiFiSniffer type exposes the following members.
| Name | Description | |
|---|---|---|
| wclWiFiSniffer | Creates a new WiFi Sniffer. |
| Name | Description | |
|---|---|---|
| Active | Gets the sniffer's state. | |
| DoNotChangeMode | Gets and sets the value controlled how the Sniffer will work with the WiFi hardware interface. | |
| IfaceId | Gets the WiFi Interface ID. | |
| MessageProcessing | Gets and sets a message processing method that should be used by the WiFi Sniffer. | |
| Mode | Gets the current WiFi interface mode. |
| Name | Description | |
|---|---|---|
| Close | Stops capturing WiFi frames and closes the sniffer. | |
| DoAfterOpen | Fires the AfterOpen event. | |
| DoBeforeClose | Fires the BeforeClose event. | |
| DoFrameReceived | Fires the OnFrameReceived event. | |
| DoRawFrameReceived | Fires the OnRawFrameReceived event. | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetChannel | Get the current channel. | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object) | |
| GetMacAddr | Gets the WiFi adapter current MAC address. | |
| GetPhy | Gets the current adapter's PHY. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Open | Opens the sniffer and starts capturing WiFI frames. | |
| SetChannel | Sets the current channel. | |
| SetPhy | Sets the current PHY. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| AfterOpen | The event fires after the Sniffer was opened with success. | |
| BeforeClose | The event fires before the Sniffer will be closed. | |
| OnFrameReceived | The event fires when a new frame received. | |
| OnRawFrameReceived | The event fires when a new frame received. |
Please note, that not all WiFi adapters can capture the raw packets. To be able to do that your adapter must support Monitor Mode.
The component requires Microsoft Network Monitor 3.4 filter driver to be installed on your system. You can download and install the Microsoft Network Monitor 3.4 by the following link: https://www.microsoft.com/en-us/download/details.aspx?id=4865
NOTE: The component is not thread-safe.