Obtain client MAC address in ASP.NET Application

六月ゝ 毕业季﹏ 提交于 2019-12-06 14:16:22

You don't have access to the MAC, you don't need it. The MAC is only known to the router who the computer is connected to.

You can't get the MAC address of the sender, because you can't get mac address behind the first router on the path to the client.

To achieve that, you have to run some code on the client machine. MAC address isn't provoided in the internet. Store some cookie with a guid on the machine, that is not as disliked as running code on the client machine. ;-)

The best thing in my oppinion is to establish a user management on your website and give the peaople a chance to register / login. Then you can track everything around the user.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!