MAC addresses in JavaScript

前端 未结 6 2027
抹茶落季
抹茶落季 2020-11-22 06:14

I know that we can get the MAC address of a user via IE (ActiveX objects).

Is there a way to obtain a user\'s MAC address using JavaScript?

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-22 06:45

    If this is for an intranet application and all of the clients use DHCP, you can query the DHCP server for the MAC address for a given IP address.

提交回复
热议问题