ClassOfDevice Class

Describes the device and service capabilities of a device.

Definition

Namespace: InTheHand.Net.Bluetooth
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
[SerializableAttribute]
public sealed class ClassOfDevice : IEquatable<ClassOfDevice>
Inheritance
Object    ClassOfDevice
Implements
IEquatableClassOfDevice

Remarks

Is returned by the properties BluetoothDeviceInfo.ClassOfDevice and BluetoothRadio.ClassOfDevice.

Constructors

ClassOfDevice Initialize a new instance of class ClassOfDevice.

Properties

Device Returns the device type.
MajorDevice Returns the major device type.
Service Returns supported service types.
Value Gets the numerical value.
ValueAsInt32 Gets the numerical value, suitable for CLS Compliance.
Obsolete.

Methods

Equals(ClassOfDevice) Returns a value indicating whether this instance is equal to a specified ClassOfDevice value.
Equals(Object) Returns a value indicating whether this instance is equal to a specified object.
(Overrides ObjectEquals(Object))
GetHashCode Returns the hash code for this instance.
(Overrides ObjectGetHashCode)
GetType
(Inherited from Object)
ToString Returns the numerical value represented in a hexadecimal.
(Overrides ObjectToString)

Operators

See Also