1

Topic: HidSharp. USB strings

Hello!

Is HidSharp able to read USB strings from HID devices?
I need a method in HidSharp that can read the same information as this one:

[DllImport("hid.dll")]
private static extern bool HidD_GetIndexedString(IntPtr hidDeviceObject, int index, ref byte lpReportBuffer, int length);

Thank you for help!

2

Re: HidSharp. USB strings

I implemented HidD_GetIndexedString method for Windows OS in the latest released version of HidSharp. My commit can be found here: github.com/dondrakon/HidSharp/commit/ff121e5729fdd395a42e9013d88e7e835f8c0086