You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just created a brand new project (a Windows console app using .NET 8.0), and I installed Device.NET using nuget.
I just tried to implement the example code that is in the read-me:
var usbFactory =
new FilterDeviceDefinition(vendorId: 0x1209, productId: 0x53C1, label: "Trezor One Firmware 1.7.x")
.CreateWindowsUsbDeviceFactory(loggerFactory);
The function CreateWindowsUsbDeviceFactory does not exist.
Any suggestions as to how to proceed?
The text was updated successfully, but these errors were encountered:
CreateWindowsUsbDeviceFactory is an extension method for FilterDeviceDefinition and is defined in the Usb.Net package. You need to make sure the nuget package is added to a project and import extension with using Usb.Net.Windows.
I just created a brand new project (a Windows console app using .NET 8.0), and I installed Device.NET using nuget.
I just tried to implement the example code that is in the read-me:
The function
CreateWindowsUsbDeviceFactory
does not exist.Any suggestions as to how to proceed?
The text was updated successfully, but these errors were encountered: