Click or drag to resize

USBDeviceGetSingleDevice Method (Guid)

Finds the first WinUSB device with a GUID matching the parameter guid. If multiple WinUSB devices match the GUID only the first one is returned.

Namespace:  MadWizard.WinUSBNet
Assembly:  WinUSBNet (in WinUSBNet.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public static USBDevice GetSingleDevice(
	Guid guid
)

Parameters

guid
Type: SystemGuid
The GUID that the device should match.

Return Value

Type: USBDevice
An UsbDevice object representing the device if found. If no device with the given GUID could be found null is returned.
See Also