Oakrey.Usb
1.0.0
dotnet add package Oakrey.Usb --version 1.0.0
NuGet\Install-Package Oakrey.Usb -Version 1.0.0
<PackageReference Include="Oakrey.Usb" Version="1.0.0" />
<PackageVersion Include="Oakrey.Usb" Version="1.0.0" />
<PackageReference Include="Oakrey.Usb" />
paket add Oakrey.Usb --version 1.0.0
#r "nuget: Oakrey.Usb, 1.0.0"
#addin nuget:?package=Oakrey.Usb&version=1.0.0
#tool nuget:?package=Oakrey.Usb&version=1.0.0
Oakrey.USB
Overview
The 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.
Features
USB Device Communication:
Implements UsbAdapter and UsbOutStreamAdapter for managing USB communication. Provides IUsbAdapter for extensibility and custom implementations.
Device Monitoring:
Includes UsbNotifier for monitoring USB device changes. Supports filtering with UsbNotifierFilter and IUsbNotifierFilter.
Event Handling:
Handles USB events with UsbEventArgs and UsbDeviceChangeStatus. Processes device information using ProcessedDeviceInfo.
Integration:
Utilizes WinUSBNet and Nefarius.Utilities.DeviceManagement for low-level USB operations. Supports WPF applications with UseWPF enabled.
Extensibility:
Designed with interfaces and adapters for easy integration and customization.
Installation
You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.
NuGet Package Manager
- Open your project in Visual Studio.
- Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
- Search for
Oakrey.USB
and click Install.
.NET CLI
Run the following command in your terminal:
dotnet add package Oakrey.USB
Package Manager Console
Run the following command in your Package Manager Console:
Install-Package Oakrey.USB
Requirements
- .NET 8 or higher
Project Information
- Author: Oakrey
- Company: Oakrey
- License: MIT
- Repository: Git Repository
- Project URL: Project Website
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. |
-
net8.0-windows7.0
- Nefarius.Utilities.DeviceManagement (>= 3.22.0)
- System.Management (>= 9.0.1)
- WinUSBNet (>= 2.1.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Oakrey.Usb:
Package | Downloads |
---|---|
Oakrey.Guru.Adapter
A .NET library for packet-based data communication, featuring CRC validation, transceiver framework, and USB integration. |
|
Oakrey.Applications.UsbNotifying
A .NET library for monitoring USB device events, providing real-time notifications for device connections and disconnections with detailed logging and reactive programming support. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 182 | 4/17/2025 |