Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friendly name #135

Open
erezdamari opened this issue Apr 6, 2022 · 1 comment
Open

Friendly name #135

erezdamari opened this issue Apr 6, 2022 · 1 comment

Comments

@erezdamari
Copy link

I need the friendly name of the the device or to get device by the friendly name of the device.
My problem is that I have multiple Headset with the same VendorId and same ProductId. So I need to get device by it's friendly name.

Thanks

@Oudoum
Copy link

Oudoum commented Jul 20, 2023

Just use the ReadProduct() method of the HidDevice object and after retrieving the byte array encode it to a string. You need to remove the zeroes in the byte array or replace the character after creating the string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants