Returns the Class of Device of the remote device.
| C# | Visual Basic |
public ClassOfDevice ClassOfDevice { get; }
Public ReadOnly Property ClassOfDevice As ClassOfDevice
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.