获取ASP.NET网站用户的MAC [英] Get the MAC of ASP.NET website user
问题描述
我正在寻找一个解决方案,了解使用asp.net网站的用户的MAC数量。我知道你可以得到一个IP地址(不知道为什么,但它不能被复杂),但我可以找出具有IP的MAC地址?
I'm looking for a solution to find out about the MAC number of a user using asp.net website. I know you can get an IP address (don't know why but it can't be complicated) but can i find out the MAC address having the IP?
编辑:我的意思是编程方式(而不是手动)在.NET
I mean programmatically (not manually) in .NET
推荐答案
如果您的网站是可信的,你可以在IE中做到这一点:结果
<一href=\"http://www.devarticles.com/c/a/JavaScript/Advanced-JavaScript-with-Internet-Explorer-Retrieving-Networking-Configuration-Information/1/\" rel=\"nofollow\">http://www.devarticles.com/c/a/JavaScript/Advanced-JavaScript-with-Internet-Explorer-Retrieving-Networking-Configuration-Information/1/
If your site is trusted, you can do this in IE:
http://www.devarticles.com/c/a/JavaScript/Advanced-JavaScript-with-Internet-Explorer-Retrieving-Networking-Configuration-Information/1/
我不希望它的任何典型的游客,只要用户谁是你已经控制,就像在本地网络上的系统工作。可能有第二种方法在IE中,如果你能找到产生使用CoCreateGuid一个GUID一个共同的ActiveX。它的GUID的一部分返回MAC地址。我不会赌找到一个常用的安装虽然
I wouldn't expect it to work for any typical visitors, just users who's systems you already control, like on your local network. There may be a second way in IE if you can find a common activex that generates a guid using CoCreateGuid. It returns the mac address in part of the guid. I wouldn't bet on finding one that's commonly installed though.
这篇关于获取ASP.NET网站用户的MAC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!