Pregunta

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.

¿Fue útil?

Solución 2

The solution I've come up with is to query WMI through C++ and then use its DLL in Java through JNI.

Otros consejos

There is the jUSB API which you could use. Documentation here

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top