Datalogic .NET SDK
GetAllConfigs (Method)
Syntax
public static List<WiFiConfig> GetAllConfigs()
Description
Get all the profiles defined in the system.
WEP keys, PSK keys, and EAP authentication data are NOT returned.
Return
An array of currently set up profiles in the system. Currently, the method returns a StandardWiFiConfig profile class for both standard an EAP profiles. Therefore, some of the EAP configuration can not be retrieved.
Throws
WiFiException on error.
Example
try { List<WiFiConfig> configs = WiFi.GetAllConfigs(); for (int i = 0; i < configs.Count; i++) { Debug.WriteLine("config[" + i + "]: " + configs[i].SSID + ", " + configs[i].AuthType); } } catch (WiFiException ex) { Debug.WriteLine("error code: " + ex.ErrorCode); }
|
Supported devices: Skorpio X4, Falcon X4
See Also
Copyright © Datalogic ADC. All Right Reserved