简体   繁体   中英

How to get PC hardware IDs using any way using browser (e.e. javascript)

I searched but couldn't find answer.

I want to get Hardware IDs from PC using browser only to generate a unique code. So even when user use virtual PC. I can detect them via Hardware because they can not change their hardware's identity.

Applications can easily do it but is there any possible way to do same with flash application, java/javascript or browswer add one etc?

Thanks

For javascript, you can't access the MAC address of the machine, which is probably the closest thing to a "hardware id".

Java and Flash are being deprecated in the browser too, so while I'm sure an option exists there, many users won't be able to use them very soon.

I think a good solution would be to have a server assign a unique ID to a user, which is then stored as in a cookie on the user's machine.

我相信唯一的方法是编写一个浏览器插件-如果您需要用户提供硬件ID,则可以合理地与用户对此进行明确说明,并要求他们首先安装该插件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM