How can I get client IP address, MAC address, logged in user name via javascript or jquery?

Posted on 2016-10-24
Last Modified: 2016-11-01
I am need of library or code which will work accurately to get get client IP address, MAC address, logged in user name via javascript or jquery. I am ok with any commercial library or plugins. Please advise.

Question by:Loganathan Natarajan
LVL 55

Accepted Solution

Julian Hansen earned 500 total points
ID: 41856788
IP Address - you can make an AJAX call to a server script which can then return the IP address.

The MAC Address as far as I know is not available. There are custom solutions that use ActiveX controls but that will only work on IE and only if the ActiveX control is installed - at least that is where I left off the last time I looked at this - maybe someone has some newer info.
LVL 36

Author Closing Comment

by:Loganathan Natarajan
ID: 41869555

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jQuery Scroll To Top 5 39
jquery check value of radiobutton and checkboxlist 3 30
ajax wont trigger twice without a page refresh 7 14
HTML Anchor Link Problem 3 38
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question