LibUsbDotNet 2.2.75

LibUsbDotNet

Build status NuGet version LGPLv3 license

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

No packages depend on LibUsbDotNet.

.NET Framework 4.6

  • No dependencies.

.NET 8.0

.NET Standard 2.0

Version Downloads Last updated
3.0.167-alpha 2 2026/3/27
3.0.102-alpha 2 2026/3/15
3.0.97-alpha 1 2026/3/26
3.0.87-alpha 1 2026/3/26
3.0.81-alpha 1 2026/3/26
3.0.78-alpha 1 2026/3/26
3.0.77-alpha 1 2026/3/26
3.0.75-alpha 1 2026/3/26
3.0.71-alpha 1 2026/3/26
3.0.68-alpha 1 2026/3/26
3.0.66-alpha 1 2026/3/26
3.0.63-alpha 1 2026/3/26
3.0.48-alpha 1 2026/3/26
2.2.75 1 2026/3/26
2.2.29 1 2026/3/25
2.2.28 1 2026/3/25
2.2.27 1 2026/3/25
2.2.18 1 2026/3/26
2.2.10-r112 1 2026/3/26
2.2.10-r110 1 2026/3/26
2.2.10-r108 1 2026/3/26
2.2.10-r105 1 2026/3/26
2.2.9-r9 1 2026/3/27
2.2.9-r21 1 2026/3/27
2.2.8 1 2026/3/26