LibUsbDotNet 2.2.8
LibUsbDevice Class
Library ReferenceLibUsbDotNet.LibUsbLibUsbDevice
LibUsbDotNet on SourceForge
Contains members that are specific to the LibUsb-Win32 driver.
Declaration Syntax
C#Visual BasicVisual C++
public class LibUsbDevice : UsbDevice, 
	IUsbDevice, IUsbInterface
Public Class LibUsbDevice _
	Inherits UsbDevice _
	Implements IUsbDevice, IUsbInterface
public ref class LibUsbDevice : public UsbDevice, 
	IUsbDevice, IUsbInterface
Members
All MembersMethodsProperties



IconMemberDescription
ClaimInterface(Int32)
Claims the specified interface of the device.

Close()()()()
Closes the UsbDevice and disposes any ActiveEndpoints.
(Overrides UsbDevice.Close()()()().)
DeviceFilename
Gets the Device filename for this device.

DriverMode
Returns the DriverMode this USB device is using.
(Overrides UsbDevice.DriverMode.)
LegacyLibUsbDeviceList
Gets a list of libusb devices directly from the kernel; bypassing the windows registry. This function is intended for users that do not use the native kernel driver. If using the native kernel (sys) driver supplied with LibUsbDotNet see the AllDevices.

Open()()()()
Opens the USB device handle.
(Overrides UsbDevice.Open()()()().)
Open(String, LibUsbDevice%)
Opens the USB device for communucation.

ReleaseAllInterfaces()()()()
Releases all interface claimed by ClaimInterface(Int32).

ReleaseInterface(Int32)
Releases an interface that was previously claimed with ClaimInterface(Int32).

ReleaseInterface()()()()
Releases the last interface claimed by ClaimInterface(Int32).

ResetDevice()()()()
Sends a usb device reset command.

SetAltInterface(Int32)
Sets an alternate interface for the most recent claimed interface.

SetAltInterface(Int32, Int32)
Sets an alternate interface for the specified interface.

SetConfiguration(Byte)
Sets the USB devices active configuration value.

Remarks
Use the UsbDevice class instead to allow your code to work with either LibUsb or WinUsb.
Inheritance Hierarchy
Object
UsbDevice
 LibUsbDevice

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)