WiFi Framework C++ Edition

◆ GetAuthCipherPairs()

int GetAuthCipherPairs ( const bool  AdHoc,
wclWiFiAuthCipherPairs Pairs 
) const

Reads the supported authentication and cipher pairs.

Parameters
AdHocIf this parameter set to True the method returns the pairs for the ad hoc mode. Otherwise the method returns pairs for the infrastructure mode.
PairsThe method fills this parameter with the array of the supported authentication and cipher pairs. If no pairs were found the Pairs parameter will set to NULL.
Returns
If the method succeed the return value is wclCommon::WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The caller is responsible for clear memory allocated for the Pairs dynamic array.

See also
wclWiFiAuthCipherPairs