Opens the usb device that matches the find predicate.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static UsbDevice OpenUsbDevice( Predicate<UsbRegistry> findDevicePredicate )
Public Shared Function OpenUsbDevice ( _ findDevicePredicate As Predicate(Of UsbRegistry) _ ) As UsbDevice
public: static UsbDevice^ OpenUsbDevice( Predicate<UsbRegistry^>^ findDevicePredicate )
Parameters
- findDevicePredicate (Predicate<(Of <(<'UsbRegistry>)>)>)
- The predicate function used to find the usb device.
Return Value
An valid/open usb device class if the device was found or Null if the device was not found.