0

I have MVC4 application where I need to get client side MAC Address , Please let me know . If any solution is there ?

5
  • Possible duplicate of how to get mac address of client that browse web site by asp.net mvc c# Commented May 31, 2018 at 6:10
  • 1
    Using client js not possible, ! Commented May 31, 2018 at 6:17
  • Anyway the short answer is you can't do it from Javascript for security reasons. The browser has very little access to the user's machine, to stop malicious websites from damaging it or stealing data. It's also pretty much impossible to do it from the server side as well - see the link given by Kiran above. Why do you think you need the MAC address anyway? I'm guessing this is some misguided attempt at licensing or user tracking. If you explain your actual goal perhaps there's a better way to achieve it, or perhaps it's not achievable. Commented May 31, 2018 at 8:31
  • Possible duplicate of MAC addresses in JavaScript Commented May 31, 2018 at 8:31
  • ADyson ,Thanks for your reply .. Client requirement is that Web Application should open from some predefined systems only . Please tell me how to achieve that requirement? Commented Jun 1, 2018 at 9:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.