Reading string descriptors from UsbDevice
Anthonywolfe opened this issue · 5 comments
Hi,
I'm interested in porting my application over from WinUSBNet, However I made some custom modifications to it to support the device I'm trying to communicate with. Thankfully it should be relatively simple, I just need to expose ReadStringDescriptor in to UsbDevice so I can read from some custom string descriptors on the device.
As this would be more involved than the PR I did for the USBPipePolicy I thought I'd ask how you'd want the API for it to look.
So expose like a ReadStringDescriptor on USBDevice? Sounds useful indeed! Also bear in mind we're currently modernising the master branch and optimise it for speed so breaking changes might occur!
Ah, Sorry I didn't notice the comment as github didn't notify me of it. I've submitted a PR over here #6 but let me know if I need to make any adjustments.
All good, merged the fun 👍 Anything else? 😉
I think that should just about do it thanks!
Published new nuget.