Skip to content

Samples and Unit Tests

Christian Findlay edited this page Jan 15, 2019 · 12 revisions

These repos have implementations of Hid.Net and Usb.Net. These should help you to understand how the libraries can be used to connect to various devices. The libraries are for cryptocurrency hardwarewallets. Your best bet for connecting to a device and using it is to clone one of these repos and modify it to suit your needs.

There are three samples in the Samples folder inside the main solution of this repo. This should be the first place to look. The samples have direct enumerating and device listening. Here are some other repos that also use Usb.Net or Hid.Net.

Platform Device Types
Trezor.Net UWP, Android, Console - .NET Framework
Ledger.Net UWP, Console - .NET Core
Ledger .NET API Console - .NET Core)
KeepKey.Net UWP, Android, .NET Framework