Device.Net
Device.Net copied to clipboard
Out of date docs
https://melbournedeveloper.github.io/Device.Net/articles/LinuxmacOSSupport.html
The code sample doesn't compile. WindowsUsbDeviceFactory and WindowsHidDeviceFactory are unknown types.
With the following imports:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Device.Net;
#if !LIBUSB
using Usb.Net;
using Usb.Net.Windows;
#else
using Device.Net.LibUsb;
#endif
Yes, I can confirm that the documentation here is out of date.