MAC address of client machine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • subhranil
    New Member
    • Nov 2007
    • 1

    MAC address of client machine

    how can we get physical address or MAC address of client machine
    using javascript.
    plz.... give some idea or code
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    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.

    Comment

    • Dasty
      Recognized Expert New Member
      • Nov 2007
      • 101

      #3
      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).



      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

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Originally posted by Dasty
        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!

        Comment

        Working...