Opens the USB device for communucation.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static bool Open( string deviceFilename, out LibUsbDevice usbDevice )
Public Shared Function Open ( _ deviceFilename As String, _ <OutAttribute> ByRef usbDevice As LibUsbDevice _ ) As Boolean
public: static bool Open( String^ deviceFilename, [OutAttribute] LibUsbDevice^% usbDevice )
Parameters
- deviceFilename (String)
- The LibUsb device filename to open.
- usbDevice (LibUsbDevice%)
- The newly created UsbDevice.
Return Value
True on success.