Opens the usb device that matches the find predicate.

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 )

- findDevicePredicate (Predicate<(Of <(<'UsbRegistry>)>)>)
- The predicate function used to find the usb device.

An valid/open usb device class if the device was found or Null if the device was not found.