Best working Java API for USB connection
-
01-03-2021 - |
Question
I want to get the serial number of a smart card reader connected to pc via USB. One way to do this is to get the iSerialNumber
of the USB (smart card reader). Can anyone please guide me about the best working Java API for this purpose?
Should work in windows 7 as well. Any help will be appreciated. Thanks in advance.
Solution 2
The solution I've come up with is to query WMI through C++ and then use its DLL in Java through JNI.
OTHER TIPS
There is the jUSB API which you could use. Documentation here
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow