如何使用jquery获取客户端mac地址 [英] how do get client mac address using jquery
本文介绍了如何使用jquery获取客户端mac地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨专家,
我在asp.net中创建一个web应用程序,我必须得到客户端的mac地址,我尝试了c#代码与管理类但它没有在发布工作,我试过javascript但它需要启用活动x,我们可以使用jquery获取mac地址而不启用活动x控件。
提前感谢.. ...
hi experts,
Im creating a web application in asp.net,i have to get client mac address , I tried c# code with management class but it was not working in publish, I tried javascript but it need to enable active x, can we get mac address with jquery without enabling active x controls.
Thanks in advance.....
推荐答案
这对你没有帮助,但会告诉你为什么你不能这样做:
http://stackoverflow.com/questions/3385/mac-addresses-in-javascript [ ^ ]
使用WMI查询查看一个答案此处 [ ^ ]。不确定它是否有效。
This will not help you but will tell you why you can not do it:
http://stackoverflow.com/questions/3385/mac-addresses-in-javascript[^]
See the one answer using WMI query here[^]. Not sure if it works though.
这篇关于如何使用jquery获取客户端mac地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文