Show / Hide Table of Contents

Class WindowsUsbInterfaceManager

Inheritance
System.Object
UsbInterfaceManager
WindowsUsbInterfaceManager
Implements
IUsbInterfaceManager
System.IDisposable
Inherited Members
UsbInterfaceManager.Logger
UsbInterfaceManager.LoggerFactory
UsbInterfaceManager.RegisterDefaultInterfaces()
UsbInterfaceManager.UsbInterfaces
UsbInterfaceManager.ReadUsbInterface
UsbInterfaceManager.WriteUsbInterface
UsbInterfaceManager.ReadInterruptUsbInterface
UsbInterfaceManager.WriteInterruptUsbInterface
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.Windows
Assembly: Usb.Net.dll
Syntax
public class WindowsUsbInterfaceManager : UsbInterfaceManager, IUsbInterfaceManager, IDisposable

Constructors

WindowsUsbInterfaceManager(String, ILoggerFactory, Nullable<UInt16>, Nullable<UInt16>)

Declaration
public WindowsUsbInterfaceManager(string deviceId, ILoggerFactory loggerFactory = null, ushort? readBufferLength = null, ushort? writeBufferLength = null)
Parameters
Type Name Description
System.String deviceId
Microsoft.Extensions.Logging.ILoggerFactory loggerFactory
System.Nullable<System.UInt16> readBufferLength
System.Nullable<System.UInt16> writeBufferLength

Properties

DeviceId

Declaration
public string DeviceId { get; }
Property Value
Type Description
System.String

IsInitialized

Declaration
public bool IsInitialized { get; }
Property Value
Type Description
System.Boolean

ReadBufferSize

Declaration
public ushort ReadBufferSize { get; }
Property Value
Type Description
System.UInt16

ReadBufferSizeProtected

Declaration
protected ushort? ReadBufferSizeProtected { get; set; }
Property Value
Type Description
System.Nullable<System.UInt16>

WriteBufferSize

Declaration
public ushort WriteBufferSize { get; }
Property Value
Type Description
System.UInt16

WriteBufferSizeProtected

Declaration
protected ushort? WriteBufferSizeProtected { get; set; }
Property Value
Type Description
System.Nullable<System.UInt16>

Methods

Close()

Declaration
public override void Close()
Overrides
UsbInterfaceManager.Close()

Dispose()

Declaration
public override void Dispose()
Overrides
UsbInterfaceManager.Dispose()

GetConnectedDeviceDefinitionAsync(CancellationToken)

Declaration
public Task<ConnectedDeviceDefinition> GetConnectedDeviceDefinitionAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<ConnectedDeviceDefinition>

InitializeAsync(CancellationToken)

Declaration
public async Task InitializeAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task

Implements

IUsbInterfaceManager
System.IDisposable
In This Article
Back to top Generated by DocFX