Oakrey.Usb
2.0.0
See the version list below for details.
dotnet add package Oakrey.Usb --version 2.0.0
NuGet\Install-Package Oakrey.Usb -Version 2.0.0
<PackageReference Include="Oakrey.Usb" Version="2.0.0" />
<PackageVersion Include="Oakrey.Usb" Version="2.0.0" />
<PackageReference Include="Oakrey.Usb" />
paket add Oakrey.Usb --version 2.0.0
#r "nuget: Oakrey.Usb, 2.0.0"
#:package Oakrey.Usb@2.0.0
#addin nuget:?package=Oakrey.Usb&version=2.0.0
#tool nuget:?package=Oakrey.Usb&version=2.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.USBand 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 | net10.0-windows7.0 is compatible. |
-
net10.0-windows7.0
- Nefarius.Utilities.DeviceManagement (>= 5.2.0)
- System.Management (>= 10.0.0)
- WinUSBNet (>= 2.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Oakrey.Usb:
| Package | Downloads |
|---|---|
|
Oakrey.Applications.UsbNotifying
Windows-only .NET service that wraps the Windows PnP device notification API and exposes USB device arrival and removal events as an IObservable<UsbEventArgs> stream, backed by a ReplaySubject from System.Reactive. |
GitHub repositories
This package is not used by any popular GitHub repositories.