BluetoothAddress Class

Represents a Bluetooth device address.

Definition

Namespace: InTheHand.Net
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public class BluetoothAddress : IComparable<BluetoothAddress>, 
	IEquatable<BluetoothAddress>, IFormattable, ICloneable
Inheritance
Object    BluetoothAddress
Implements
ICloneable, IComparableBluetoothAddress, IEquatableBluetoothAddress, IFormattable

Constructors

BluetoothAddress(Byte) Initializes a new instance of the BluetoothAddress class with the specified address.
BluetoothAddress(Int64) Initializes a new instance of the BluetoothAddress class with the specified address.
Obsolete.
BluetoothAddress(UInt64) Initializes a new instance of the BluetoothAddress class with the specified address.

Methods

Clone 
CompareTo 
Equals(BluetoothAddress) 
Equals(Object) Compares two BluetoothAddress instances for equality.
(Overrides ObjectEquals(Object))
Finalize
(Inherited from Object)
GetHashCode Returns the hash code for this instance.
(Overrides ObjectGetHashCode)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
Parse Converts the string representation of a Bluetooth address to a new BluetoothAddress instance.
ToByteArray Returns the value as a byte array.
ToInt64 Returns the Bluetooth address as a long integer.
Obsolete.
ToString Returns a default string representation of the BluetoothAddress.
(Overrides ObjectToString)
ToString(String) Returns a String representation of the value of this BluetoothAddress instance, according to the provided format specifier.
ToString(String, IFormatProvider) Returns a String representation of the value of this BluetoothAddress instance, according to the provided format specifier.
ToUInt64 Returns the Bluetooth address as an unsigned long integer.
TryParse Converts the string representation of an address to it's BluetoothAddress equivalent. A return value indicates whether the operation succeeded.

Operators

Equality(BluetoothAddress, BluetoothAddress) 
(BluetoothAddress to UInt64) Defines an implicit conversion of a BluetoothAddress to a UInt64,
(UInt64 to BluetoothAddress) Defines an implicit conversion of a UInt64 to a BluetoothAddress,
Inequality(BluetoothAddress, BluetoothAddress) Returns an indication whether the values of two specified BluetoothAddress objects are not equal.

Fields

None Provides a null Bluetooth address.

See Also