How to get USB devices List from Browser

前端 未结 7 1102
挽巷
挽巷 2021-01-04 07:13

What browser-based technology would allow me to query the client\'s currently connected USB devices - specifically name and device id of these. Of course, I\'m ok with the c

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-04 08:03

    IE ActiveX, IE toolbar, Netscape plugin wrapper (for Opera/Windows, Firefox/Windows, probably Chrome/Windows) => WMI. Presumably any such stuff would be banned by any scrapyard-grade antivirus software.

    You can: a> go that way, b> go with smart cards native support instead of making usb security dongles c> write your own software, that will start a webserver at 127.0.0.1 and access it from javascript on your page (where the installation download is offered).

提交回复
热议问题