LibUsbDotNet/LibUsbDotNet/LibUsb/UsbDevice.Interfaces.cs
/// <summary>
/// Releases an interface that was previously claimed with <see cref="ClaimInterface"/>.
/// </summary>
/// <param name="interfaceID">The interface to release.</param>
/// <returns>True on success.</returns>
Releases an interface that was previously claimed with .
Releases an interface that was previously claimed with .
public bool ReleaseInterface(int interfaceID)
        {
            this.EnsureOpen();
            var ret = NativeMethods.ReleaseInterface(this.deviceHandle, interfaceID);
            this.mClaimedInterfaces.Remove(interfaceID);
            ret.ThrowOnError();
            return true;
        }
public bool ReleaseInterface ( int interfaceID ) { this . EnsureOpen ( ) ; var ret = NativeMethods . ReleaseInterface ( this . deviceHandle , interfaceID ) ; this . mClaimedInterfaces . Remove ( interfaceID ) ; ret . ThrowOnError ( ) ; return true ; }
Releases an interface that was previously claimed with .
Releases an interface that was previously claimed with .
True on success.
True on success .
interfaceID
int
The interface to release.
The interface to release .