I have MVC4 application where I need to get client side MAC Address , Please let me know . If any solution is there ?
-
Possible duplicate of how to get mac address of client that browse web site by asp.net mvc c#Kiran Shahi– Kiran Shahi2018-05-31 06:10:32 +00:00Commented May 31, 2018 at 6:10
-
1Using client js not possible, !Vinod kumar G– Vinod kumar G2018-05-31 06:17:46 +00:00Commented 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.ADyson– ADyson2018-05-31 08:31:17 +00:00Commented May 31, 2018 at 8:31
-
Possible duplicate of MAC addresses in JavaScriptADyson– ADyson2018-05-31 08:31:22 +00:00Commented 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?Saurav– Saurav2018-06-01 09:01:35 +00:00Commented Jun 1, 2018 at 9:01
Add a comment
|