A .NET library for managing USB devices, featuring communication, device monitoring, and event handling functionalities.
$ dotnet add package Oakrey.UsbThe Oakrey.USB project is a .NET library designed to provide interface for managing USB devices. It simplifies USB communication, device monitoring, and event handling, making it suitable for applications requiring USB device interaction and notifications.
Implements UsbAdapter and UsbOutStreamAdapter for managing USB communication. Provides IUsbAdapter for extensibility and custom implementations.
Includes UsbNotifier for monitoring USB device changes. Supports filtering with UsbNotifierFilter and IUsbNotifierFilter.
Handles USB events with UsbEventArgs and UsbDeviceChangeStatus. Processes device information using ProcessedDeviceInfo.
Utilizes WinUSBNet and Nefarius.Utilities.DeviceManagement for low-level USB operations. Supports WPF applications with UseWPF enabled.
Designed with interfaces and adapters for easy integration and customization.
You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.
Oakrey.USB and click Install.Run the following command in your terminal:
dotnet add package Oakrey.USB
Run the following command in your Package Manager Console:
Install-Package Oakrey.USB
Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.
This project is licensed under the MIT License. See the LICENSE file for details.