LibUsbDotNet 2.2.8
Open Method (devicePath, usbDevice)
Library ReferenceLibUsbDotNet.WinUsbWinUsbDeviceOpen(String, WinUsbDevice%)
LibUsbDotNet on SourceForge
Opens a WinUsb directly from the user supplied device path.
Declaration Syntax
C#Visual BasicVisual C++
public static bool Open(
	string devicePath,
	out WinUsbDevice usbDevice
Public Shared Function Open ( _
	devicePath As String, _
	<OutAttribute> ByRef usbDevice As WinUsbDevice _
) As Boolean
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.
Return Value
True on success.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: (