Class BluetoothDevice
Allows a user to authenticate using a Bluetooth device.
Inheritance
System.Object
BluetoothDevice
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: BuzzLockGui.dll
Syntax
public class BluetoothDevice : AuthenticationMethod, IEquatable<BluetoothDevice>
Constructors
BluetoothDevice(BluetoothAddress)
Creates a new Bluetooth device with the given address.
Declaration
public BluetoothDevice(BluetoothAddress address)
Parameters
BluetoothDevice(BluetoothAddress, String)
Creates a new Bluetooth device with the given address and name.
Declaration
public BluetoothDevice(BluetoothAddress address, string name)
Parameters
Fields
Address
The address of this Bluetooth device.
Declaration
public readonly BluetoothAddress Address
Field Value
Properties
Name
The name of this Bluetooth device.
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Equals(BluetoothDevice)
Declaration
public bool Equals(BluetoothDevice other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
GetAllAvailable()
Declaration
public static IEnumerable<BluetoothDevice> GetAllAvailable()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<BluetoothDevice> |
An System.Collections.Generic.IEnumerable<T> of the available
BluetoothDevices.
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>