Click or drag to resize

USBDeviceGetSingleDevice Method (String)

Finds the first WinUSB device with a GUID matching the parameter guidString. 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(
	string guidString
)

Parameters

guidString
Type: SystemString
The GUID string 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