WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclWiFiInterface.GetAuthCipherPairs Method

Reads the supported authentication and cipher pairs.

Syntax
Pascal
function GetAuthCipherPairs(const AdHoc: Boolean; out Pairs: TwclWiFiAuthCipherPairs): Integer;
Parameters 
Description 
const AdHoc: Boolean 
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.  
out Pairs: TwclWiFiAuthCipherPairs 
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 nil.  

If the method succeed the return value is 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.