WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiInterface::GetAuthCipherPairs Method

Reads the supported authentication and cipher pairs.

Syntax
C++
int GetAuthCipherPairs(bool AdHoc, wclWiFiAuthCipherPairs& Pairs);
Parameters 
Description 
bool AdHoc 
If this parameter set to True the method returns the pairs for the ad hoc mode. Otherwise the method returns pairs for the infrastructure mode.  
wclWiFiAuthCipherPairs& Pairs 
The 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.  

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 dinamic array.

Copyright (c) 2006-2019. All rights reserved.