How to find the MAC address of a computer using jQuery

Is there a way to get system information like MAC address, computer name, etc. from the host using jQuery?

+3
source share
3 answers

No, fortunately not.

+20
source

Try http://www.webdeveloper.com/forum/showthread.php?t=134120

var strComputer = ".";
var objWMIService = GetObject("winmgmts:\\\\" + strComputer + "\\root\\cimv2");
var e = new Enumerator(objWMIService.ExecQuery("Select * from Win32_NetworkAdapter","WQL",48));

for (;!e.atEnd();e.moveNext())
{   objItem = e.item();
    WScript.Echo ("MACAddress: " + objItem.MACAddress)
}
0
source

This problem threatens me, I solved it by creating an applet using a signed Jar, giving it all the permissions, but in java script and jquery there is only activex, but it works, i.e. in another browser it does not work.

0
source

Source: https://habr.com/ru/post/1740980/


All Articles