Oakrey.Usb 1.0.0

dotnet add package Oakrey.Usb --version 1.0.0
                    
NuGet\Install-Package Oakrey.Usb -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Oakrey.Usb" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Oakrey.Usb" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Oakrey.Usb" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Oakrey.Usb --version 1.0.0
                    
#r "nuget: Oakrey.Usb, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Oakrey.Usb&version=1.0.0
                    
Install Oakrey.Usb as a Cake Addin
#tool nuget:?package=Oakrey.Usb&version=1.0.0
                    
Install Oakrey.Usb as a Cake Tool

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

  1. Open your project in Visual Studio.
  2. Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
  3. 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

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 Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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