LibUsbDotNet 2.2.75
See the version list below for details.
dotnet add package LibUsbDotNet --version 2.2.75
NuGet\Install-Package LibUsbDotNet -Version 2.2.75
<PackageReference Include="LibUsbDotNet" Version="2.2.75" />
<PackageVersion Include="LibUsbDotNet" Version="2.2.75" />
<PackageReference Include="LibUsbDotNet" />
paket add LibUsbDotNet --version 2.2.75
#r "nuget: LibUsbDotNet, 2.2.75"
#addin nuget:?package=LibUsbDotNet&version=2.2.75
#tool nuget:?package=LibUsbDotNet&version=2.2.75
LibUsbDotNet
LibUsbDotNet is a .NET C# USB library for WinUsb, libusb-win32, and Linux libusb v1.x developers. All basic USB device functionality can be performed through common device classes allowing you to write OS and driver independent code.
- LibUsbDotNet versions 2.2.4 and above support the Libusb-1.0 driver.
- LibUsbDotNet 2.1.0 and above supports the genuine libusb-win32 driver package. However, access to basic device information via the windows registry is not available. See the LegacyUsbRegistry class for more information.
Features
- Full support for WinUSB. All WinUSB interfaces are treated as separate devices; each interface can be used by a different application.
- Extended kernel level support for libusb-win32.
- Supports Unix-like operating systems using Mono .NET and libusb-1.0.
- Common device classes allow for a single code base to support multiple drivers and platforms.
- Includes a Usb InfWizard utility (Windows only) for generating usb installation packages, removing devices, and installing drivers.
- Device discovery using any or all of the folowing criteria:
- VendorID
- ProductID
- Revision Code
- Serial Number
- Device Interface GUID
Source package includes many small example applications.
Linux users
If you have installed libusb-1.0
and you still have an error about loading library, it may be needed to make a symlink to allow runtime load the library.
First, find the location of the library. For example : sudo find / -name "libusb-1.0*.so*"
can give you :
/lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
/lib/x86_64-linux-gnu/libusb-1.0.so.0
Then go to the directory, and make the symlink. it should match the library name, with extension (.so) without version :
cd /lib/x86_64-linux-gnu
sudo ln -s libusb-1.0.so.0 libusb-1.0.so
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6
- No dependencies.
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 5.0.0)
-
net8.0
- Microsoft.Win32.Registry (>= 5.0.0)
NuGet packages (28)
Showing the top 5 NuGet packages that depend on LibUsbDotNet:
Package | Downloads |
---|---|
LibUsbDfu
C# USB DFU firmware upgrade utility using LibUsbDotNet |
|
BlinkStickDotNet
BlinkStick Generic Hid Library with KeesTalksTech modifications |
|
XTenLib
X10 Home Automation library for .NET Features - Supports both *CM11* and *CM15* hardware - Event driven - Hot plug - Automatically restabilish connection on error/disconnect - Compatible with Mono |
|
Arendi.Bluetooth.Hci.Usb
Bluetooth Low Energy HCI communication library. |
|
Device.Net.LibUsb
macOS and Linux .NET library for talking to USB devices. Backed by the Device.Net framework |
GitHub repositories (20)
Showing the top 20 popular GitHub repositories that depend on LibUsbDotNet:
Repository | Stars |
---|---|
cyanfish/naps2
Scan documents to PDF and more, as simply as possible.
|
|
mashed-potatoes/PotatoNV
Unlock bootloader of Huawei devices on Kirin 960/95x/65x/620
|
|
kwsch/NHSE
Animal Crossing: New Horizons save editor
|
|
chenxuuu/llcom
🛠功能强大的串口工具。支持Lua自动化处理、串口调试、WinUSB、串口曲线、TCP测试、MQTT测试、编码转换、乱码恢复等功能
|
|
MelbourneDeveloper/Device.Net
A C# cross platform connected device framework
|
|
architdate/PKHeX-Plugins
Plugins for PKHeX
|
|
kwsch/SysBot.NET
sys-botbase client for remote control automation of Nintendo Switch consoles.
|
|
ShendoXT/memcardrex
Advanced PlayStation 1 Memory Card editor
|
|
KeyPuncher/WiinUPro
|
|
DarthAffe/RGB.NET
The one-stop SDK for RGB-peripherals
|
|
werasik2aa/Huawei-Unlock-Tool
Unlock bootloader / FRP Huawei
|
|
leezer3/OpenBVE
OpenBVE- A free train simulator
|
|
gusmanb/PSVRFramework
|
|
Manu098vm/Tera-Finder
PKHeX.Core based program that allows users to view, edit, and calculate Raids and Mass Outbreaks for Pokémon Scarlet & Violet. It is the spiritual successor to SVXoroCalc.
|
|
maker-community/ElectronBot.DotNet
一个为ElectronBot机器人和瀚文键盘(HelloWorldKeyboard)开发的上位机软件(包含机器人USB操作SDK和瀚文键盘HID操作SDK),采用Windows App SDK框架编写界面。 A host computer software developed for ElectronBot robots (including robot USB operation SDK), using the Windows App SDK framework to write UI.
|
|
LegoFigure11/RaidCrawler
Raid Viewer for Pokémon Scarlet and Violet
|
|
Struggleton/Delfinovin
An XInput solution for Gamecube Controllers
|
|
logicpulse/logicPOS
Logicpulse's Open Source POS System
|
|
freezy/dmd-extensions
A toolbox for virtual pinball dot matrix displays.
|
|
nosmokingbandit/AluminumFoil
USB Installer for GoldLeaf and TinFoil
|
Version | Downloads | Last updated |
---|---|---|
3.0.167-alpha | 194 | 4/8/2025 |
3.0.102-alpha | 137,445 | 10/28/2022 |
3.0.97-alpha | 9,438 | 6/7/2021 |
3.0.87-alpha | 20,814 | 12/2/2020 |
3.0.81-alpha | 12,554 | 5/19/2020 |
3.0.78-alpha | 1,014 | 5/19/2020 |
3.0.77-alpha | 1,034 | 5/18/2020 |
3.0.75-alpha | 1,177 | 4/16/2020 |
3.0.71-alpha | 898 | 4/16/2020 |
3.0.68-alpha | 1,018 | 4/11/2020 |
3.0.66-alpha | 1,244 | 3/14/2020 |
3.0.63-alpha | 1,018 | 3/9/2020 |
3.0.48-alpha | 5,315 | 9/28/2018 |
2.2.75 | 162 | 4/12/2025 |
2.2.29 | 805,261 | 9/25/2018 |
2.2.28 | 2,882 | 9/25/2018 |
2.2.27 | 1,860 | 9/25/2018 |
2.2.18 | 4,948 | 9/6/2018 |
2.2.10-r112 | 2,456 | 11/22/2017 |
2.2.10-r110 | 1,621 | 11/15/2017 |
2.2.10-r108 | 1,503 | 11/15/2017 |
2.2.10-r105 | 1,516 | 11/14/2017 |
2.2.9-r9 | 2,267 | 4/7/2017 |
2.2.9-r21 | 1,560 | 10/7/2017 |
2.2.8 | 106,103 | 3/23/2014 |