LibUsbDotNet 2.2.8
Open Method (devicePath, usbDevice)
Library Reference ► LibUsbDotNet.WinUsb ► WinUsbDevice ► Open(String, WinUsbDevice%)
|
![]() |
Opens a WinUsb directly from the user supplied device path.

C# | Visual Basic | Visual C++ |
public static bool Open( string devicePath, out WinUsbDevice usbDevice )
Public Shared Function Open ( _ devicePath As String, _ <OutAttribute> ByRef usbDevice As WinUsbDevice _ ) As Boolean
public: static bool Open( String^ devicePath, [OutAttribute] WinUsbDevice^% usbDevice )

- devicePath (String)
- Device path (symbolic link) of the WinUsb device to open.
- usbDevice (WinUsbDevice%)
- Returns an opened WinUsb device on success, null on failure.

True on success.