Datalogic .NET SDK

ActivateConfig (Method)

 

Syntax

 

public static void EnableConfig(String name, bool enable);

 

 

Class                           : WiFi

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

Description

Enables a configuration profile by name

 

Throws

WiFiException on error.

 

Parameters Table

 

Type

Parameter

Description

[in]

String

name

Name of the profile (i.e. config) to enable

[in]

bool

enable

New enabled state for the profile (true = enabled, false = disabled)

 

 

Example

   try

   {

       WiFi.EnableConfig("MyNetwork", true);

   }

   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