Class UsbInterfaceManager
Keeps track of the existing USB interfaces
Inheritance
System.Object
UsbInterfaceManager
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Usb.Net
Assembly: Usb.Net.dll
Syntax
public class UsbInterfaceManager : IDisposable
Constructors
UsbInterfaceManager(ILoggerFactory)
Declaration
public UsbInterfaceManager(ILoggerFactory loggerFactory = null)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Logging.ILoggerFactory | loggerFactory |
Properties
Logger
Declaration
protected ILogger Logger { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.ILogger |
LoggerFactory
Declaration
protected ILoggerFactory LoggerFactory { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.ILoggerFactory |
ReadInterruptUsbInterface
Declaration
public IUsbInterface ReadInterruptUsbInterface { get; set; }
Property Value
Type | Description |
---|---|
IUsbInterface |
ReadUsbInterface
Declaration
public IUsbInterface ReadUsbInterface { get; set; }
Property Value
Type | Description |
---|---|
IUsbInterface |
UsbInterfaces
Declaration
public IList<IUsbInterface> UsbInterfaces { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<IUsbInterface> |
WriteInterruptUsbInterface
Declaration
public IUsbInterface WriteInterruptUsbInterface { get; set; }
Property Value
Type | Description |
---|---|
IUsbInterface |
WriteUsbInterface
Declaration
public IUsbInterface WriteUsbInterface { get; set; }
Property Value
Type | Description |
---|---|
IUsbInterface |
Methods
Close()
Declaration
public virtual void Close()
Dispose()
Declaration
public virtual void Dispose()
RegisterDefaultInterfaces()
Declaration
public void RegisterDefaultInterfaces()
Implements
System.IDisposable