In The Hand
ClassOfDevice Property
NamespacesInTheHand.Net.SocketsBluetoothDeviceInfoClassOfDevice
.NET Components for Mobility
Returns the Class of Device of the remote device.
Declaration Syntax
C#Visual Basic
public ClassOfDevice ClassOfDevice { get; }
Public ReadOnly Property ClassOfDevice As ClassOfDevice
Remarks

Some CE 4.2 devices such as original PPC2003 devices don't have the native API on which this property depends — it was added as part of a hotfix. The property will always return zero in such a case. On WM/CE we also attempt to get the CoD value as part of the discovery process; this is of course only works for devices in-range.

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 3.0.0.0