Click or drag to resize

wclWiFiInformationElementParserExtractInformationElements(wclWiFiInformationElementId, Byte, wclWiFiInformationElement) Method

Extracts information elements with specified ID from WiFi frame IE raw data.

Namespace: wclWiFi
Assembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntax
public int ExtractInformationElements(
	wclWiFiInformationElementId Id,
	byte[] Raw,
	out wclWiFiInformationElement[] Elements
)

Parameters

Id  wclWiFiInformationElementId
The required Information Element ID.
Raw  Byte
The WiFi frame IE raw bytes array.
Elements  wclWiFiInformationElement
If the method completed with success and at least one IE was found on output contains the array of IEs. If the method was success but no one IE found or if the method failed the output value is null.

Return Value

Int32
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
Remarks
As Windows may combine multiple Information Elements received in different Beacon advertisement in a single raw data stream there can be more than one IE with given ID.
See Also