Device.Net 4.2.1

.NET Standard 2.0 .NET Framework 4.5
There is a newer prerelease version of this package available.
See the version list below for details.
NuGet\Install-Package Device.Net -Version 4.2.1
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.
dotnet add package Device.Net --version 4.2.1
<PackageReference Include="Device.Net" Version="4.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Device.Net --version 4.2.1
#r "nuget: Device.Net, 4.2.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Device.Net as a Cake Addin
#addin nuget:?package=Device.Net&version=4.2.1

// Install Device.Net as a Cake Tool
#tool nuget:?package=Device.Net&version=4.2.1

Cross-platform .NET framework for talking to connected devices in a uniform way through dependency injection.

Alpha version. Please use 3.x for a stable release

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Universal Windows Platform uap10.0.16299
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Device.Net:

Package Downloads

Cross-platform .NET library for talking to HID devices. Backed by the Device.Net framework


Cross-platform .NET library for talking to USB devices. Backed by the Device.Net framework


A cross platform library for communicating with the Satoshi Labs' Trezor Hardware Wallet. Supports Android, UWP, .NET Core and .NET Framework with Hid.Net. Support for other platforms can be added with Hid.Net dependency injection


macOS and Linux .NET library for talking to USB devices. Backed by the Device.Net framework


A .NET standard API for interacting with DualSense controllers

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Device.Net:

Repository Stars
Preliminar DualSense
Version Downloads Last updated
4.3.0-beta 778 10/30/2021
4.2.1 10,116 7/20/2021
4.2.0 229 7/20/2021
4.1.0 321 7/18/2021
4.0.9-alpha 492 1/26/2021
4.0.8-alpha 266 1/23/2021
4.0.7-alpha 390 12/30/2020
4.0.6-alpha 361 12/26/2020
4.0.5-alpha 322 12/24/2020
4.0.4-alpha 348 12/24/2020
4.0.3-alpha 306 12/21/2020
4.0.2-alpha 328 12/13/2020
4.0.0 3,518 1/30/2021
4.0.0-alpha 455 10/6/2020
3.1.0 29,843 9/5/2019
3.0.0 1,207 8/19/2019
3.0.0-beta2 520 8/3/2019
3.0.0-beta 540 7/21/2019
2.9.0 1,360 7/2/2019
2.8.0 783 6/23/2019
2.7.0 2,730 3/30/2019
2.6.1 922 3/19/2019
2.6.0 877 3/10/2019
2.6.0-beta 483 2/24/2019
2.5.0 1,357 2/21/2019
2.4.0 1,260 1/28/2019
2.3.0 1,176 1/14/2019
2.2.0 927 12/30/2018
2.1.0 811 12/26/2018
2.0.0 1,283 12/17/2018

Fixes cancellation tokens on Hid devices. Enables control transfer on Android device hosts. I.e. you can update firmware from your phone