Table of Contents

Class DevicePairingRequestedEventArgs

Namespace
nanoFramework.Device.Bluetooth
Assembly
nanoFramework.Device.Bluetooth.dll

This class contains the arguments for the Pairing event.

public class DevicePairingRequestedEventArgs
Inheritance
DevicePairingRequestedEventArgs
Inherited Members
Extension Methods

Properties

PairingKind

Gets the kind of pairing associated with this pairing event.

public DevicePairingKinds PairingKind { get; }

Property Value

DevicePairingKinds

Pin

Gets the pin associated with a pairing request.

public uint Pin { get; }

Property Value

uint

Methods

Accept()

Accepts a PairingRequested event and pairs the device with the application.

public void Accept()

Accept(int)

Accepts a PairingRequested event and pairs the device with the application. Requires a passkey for pairing purposes.

public void Accept(int passkey)

Parameters

passkey int

The pass key for pairing.

AcceptWithPasswordCredential(PasswordCredential)

Accepts a PairingRequested event and pairs the device with the application when a user name and password is required for pairing purposes.

public void AcceptWithPasswordCredential(PasswordCredential password)

Parameters

password PasswordCredential

The password credential.