Datalogic .NET SDK

GetAllConfigs (Method)

 

Syntax

 

public static List<WiFiConfig> GetAllConfigs()

 

 

Class                           : WiFi

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

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);

}

 

 

Remarks

Supported devices: Skorpio X4, Falcon X4

 

See Also

WiFi (Class), Example #43.

 

 

Copyright © Datalogic ADC. All Right Reserved