LibUsbDotNet 2.2.8
DetachKernelDriver Method (deviceHandle, interfaceNumber)
Library ReferenceMonoLibUsbMonoUsbApiDetachKernelDriver(MonoUsbDeviceHandle, Int32)
LibUsbDotNet on SourceForge
Detach a kernel driver from an interface.
Declaration Syntax
C#Visual BasicVisual C++
public static int DetachKernelDriver(
	MonoUsbDeviceHandle deviceHandle,
	int interfaceNumber
Public Shared Function DetachKernelDriver ( _
	deviceHandle As MonoUsbDeviceHandle, _
	interfaceNumber As Integer _
) As Integer
static int DetachKernelDriver(
	[InAttribute] MonoUsbDeviceHandle^ deviceHandle, 
	int interfaceNumber
deviceHandle (MonoUsbDeviceHandle)
A device handle.
interfaceNumber (Int32)
The interface to detach the driver from.
Return Value

If successful, you will then be able to claim the interface and perform I/O.

Note: Member documentation was originally generated using the Libusb-1.0 API documentation: Device handling and enumeration

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: (