UsbDeviceClasses UsbDeviceClasses UsbDeviceClasses UsbDeviceClasses Class

Definition

Provides a way for the app to create a UsbDeviceClass object by specifying the USB device class of the device. The properties defined in this class represent the supported USB device classes and are passed in the constructor call to instantiate UsbDeviceClass. For information about USB device classes, see the official USB Website for Approved Class Specification Documents.

public : sealed class UsbDeviceClasses : IUsbDeviceClassespublic sealed class UsbDeviceClasses : IUsbDeviceClassesPublic NotInheritable Class UsbDeviceClasses Implements IUsbDeviceClasses// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Examples

This code example shows how to specify a specific device class to obtain a UsbDevice object.


    var myDevices = await Windows.Devices.Enumeration.DeviceInformation.FindAllAsync(
                          UsbDevice.GetDeviceClassSelector(
                          new UsbDeviceClass(UsbDeviceClasses.CdcControl) {}));

Properties

ActiveSync ActiveSync ActiveSync ActiveSync

Gets the device class object for the device that conforms to the Active Sync device class.

public : static UsbDeviceClass ActiveSync { get; }public static UsbDeviceClass ActiveSync { get; }Public Static ReadOnly Property ActiveSync As UsbDeviceClass// You can use this property in JavaScript.
Value
UsbDeviceClass UsbDeviceClass UsbDeviceClass UsbDeviceClass

A UsbDeviceClass object for the Active Sync device class.

See Also

CdcControl CdcControl CdcControl CdcControl

Gets the device class object for the device that conforms to the Communication Device Class (CDC).

public : static UsbDeviceClass CdcControl { get; }public static UsbDeviceClass CdcControl { get; }Public Static ReadOnly Property CdcControl As UsbDeviceClass// You can use this property in JavaScript.
Value
UsbDeviceClass UsbDeviceClass UsbDeviceClass UsbDeviceClass

A UsbDeviceClass object for the CDC-compliant device.

See Also

DeviceFirmwareUpdate DeviceFirmwareUpdate DeviceFirmwareUpdate DeviceFirmwareUpdate

Gets the device class object for the device that conforms to the Device Firmware Update device class.

public : static UsbDeviceClass DeviceFirmwareUpdate { get; }public static UsbDeviceClass DeviceFirmwareUpdate { get; }Public Static ReadOnly Property DeviceFirmwareUpdate As UsbDeviceClass// You can use this property in JavaScript.
Value
UsbDeviceClass UsbDeviceClass UsbDeviceClass UsbDeviceClass

A UsbDeviceClass object for the Device Firmware Update device class.

See Also

Irda Irda Irda Irda

Gets the device class object for an infrared transceiver that conforms to the IrDA class defined as per the IrDA Bridge Device Definition 1.0 specification.

public : static UsbDeviceClass Irda { get; }public static UsbDeviceClass Irda { get; }Public Static ReadOnly Property Irda As UsbDeviceClass// You can use this property in JavaScript.
See Also

Measurement Measurement Measurement Measurement

Gets the device class object for a device that conforms to the USB test and measurement class (USBTMC).

public : static UsbDeviceClass Measurement { get; }public static UsbDeviceClass Measurement { get; }Public Static ReadOnly Property Measurement As UsbDeviceClass// You can use this property in JavaScript.
Value
UsbDeviceClass UsbDeviceClass UsbDeviceClass UsbDeviceClass

A UsbDeviceClass object for the USBTMC-compliant device.

See Also

PalmSync PalmSync PalmSync PalmSync

Gets the device class object for the device that conforms to the Palm Sync device class.

public : static UsbDeviceClass PalmSync { get; }public static UsbDeviceClass PalmSync { get; }Public Static ReadOnly Property PalmSync As UsbDeviceClass// You can use this property in JavaScript.
Value
UsbDeviceClass UsbDeviceClass UsbDeviceClass UsbDeviceClass

A UsbDeviceClass object for the Palm Sync device class.

See Also

PersonalHealthcare PersonalHealthcare PersonalHealthcare PersonalHealthcare

Gets the device class object for a device that conforms to the USB Personal Healthcare Device Class (PHDC).

public : static UsbDeviceClass PersonalHealthcare { get; }public static UsbDeviceClass PersonalHealthcare { get; }Public Static ReadOnly Property PersonalHealthcare As UsbDeviceClass// You can use this property in JavaScript.
Value
UsbDeviceClass UsbDeviceClass UsbDeviceClass UsbDeviceClass

A UsbDeviceClass object for a PHDC-compliant healthcare device.

See Also

Physical Physical Physical Physical

Gets the device class object for a device that conforms to the Physical Interface Devices (PID) specification.

public : static UsbDeviceClass Physical { get; }public static UsbDeviceClass Physical { get; }Public Static ReadOnly Property Physical As UsbDeviceClass// You can use this property in JavaScript.
Value
UsbDeviceClass UsbDeviceClass UsbDeviceClass UsbDeviceClass

A UsbDeviceClass object for a PID-compliant device.

See Also

VendorSpecific VendorSpecific VendorSpecific VendorSpecific

Gets the device class object for a custom device that has 0xFF class code. This indicates that the device does not belong to a class approved by USB-IF.

public : static UsbDeviceClass VendorSpecific { get; }public static UsbDeviceClass VendorSpecific { get; }Public Static ReadOnly Property VendorSpecific As UsbDeviceClass// You can use this property in JavaScript.
See Also