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)
Syntaxpublic static USBDevice GetSingleDevice(
string guidString
)
Public Shared Function GetSingleDevice (
guidString As String
) As USBDevice
public:
static USBDevice^ GetSingleDevice(
String^ guidString
)
Parameters
- guidString
- Type: SystemString
The GUID string that the device should match.
Return Value
Type:
USBDeviceAn UsbDevice object representing the device if found. If
no device with the given GUID could be found null is returned.
See Also