Datalogic .NET SDK

BtClearAllPairings (Method)

 

Syntax

 

   public static Boolean BtClearAllPairings();

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Remove all pairings.

 

 

Parameters Table

 

Type

Parameter

Description

[in]

void

-

-

 

 

 

 

[returns]

Boolean

 

On success, TRUE is returned.

[on error]

FALSE

 

FALSE is returned to indicate failure.

 

 

Example

 

        private void btnClearAllPair_Click(object sender, EventArgs e)

        {

            bool b = Device.BtClearAllPairings();

 

            if (b)

            {

                listBox1.Items.Add("BT BtClear ALL Pairing OK.");

            }

            else

            {

                listBox1.Items.Add("BT BtClear ALL Pairing ERROR.");

            }

        }

 

 

 

See Also

Device.BtGetPairingCount (Method), Device.BtCreateSerialPairing (Method), Example #034.

 

Copyright © Datalogic ADC. All Right Reserved