By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,521 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,521 IT Pros & Developers. It's quick & easy.

MAC address of client machine

P: 1
how can we get physical address or MAC address of client machine
using javascript.
plz.... give some idea or code
Nov 13 '07 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
This is not possible with standard JavaScript.

Is this for an intranet/select user base? If so, you could use ActiveX which would only work in IE.
Nov 13 '07 #2

Dasty
Expert 100+
P: 101
Javascript alone can not give you such a information (all code runs only in browsers's scope). You must be using some kind of local objects that got access to such a information like ActiveX (depends on security settings).

http://www.devarticles.com/c/a/JavaS...Information/1/

But dont expect that you will be able to get such a data from many users. But if you want it for testing purposes, you can set browser (install ActiveX) that javascript will be able to get that info.

EDIT: oh acoder, I am too slow :D
Nov 13 '07 #3

acoder
Expert Mod 15k+
P: 16,027
EDIT: oh acoder, I am too slow :D
Heh, no fuss!

I gave a brief answer. Yours is more detailed and anyway, the more the merrier!
Nov 13 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.