Table of Contents

Class BluetoothPairingEventArgs

Namespace
TechnologySolutions.Rfid.AsciiProtocol.Extensions
Assembly
TechnologySolutions.Rfid.AsciiProtocol.Core.dll

Provides data for a Bluetooth pairing event

public class BluetoothPairingEventArgs : EventArgs
Inheritance
BluetoothPairingEventArgs
Inherited Members

Constructors

BluetoothPairingEventArgs(string, BluetoothAddress, bool)

Initializes a new instance of the BluetoothPairingEventArgs class

public BluetoothPairingEventArgs(string name, BluetoothAddress address, bool isPaired)

Parameters

name string

The Bluetooth friendly name of the device

address BluetoothAddress

The Bluetooth MAC address of the device

isPaired bool

True if the pairing was added, false if the pairing was removed

Properties

Address

Gets the Bluetooth MAC address of the device

public BluetoothAddress Address { get; }

Property Value

BluetoothAddress

IsPaired

Gets a value indicating whether the device is now paired (true) or un-paired (false)

public bool IsPaired { get; }

Property Value

bool

Name

Gets the Bluetooth friendly name of the device

public string Name { get; }

Property Value

string