Get MAC address in Silverlight

妖精的绣舞 提交于 2019-12-02 05:24:18

问题


Is it possible to get the client's MAC address from a Silverlight app? It would be ideal if the solution works OOB too.


回答1:


No, it is not possible to get the clients' MAC address in Silverlight 2 or Silverlight 3.

There's no p/invoke, trusted code, or BCL surface area for this.




回答2:


You can get Mac Address using Java Applet or by opening the clients router status page in an iframe if java is not installed, for example with Belkin routers its http://192.168.2.1/status.stm. There are several fraud detection systems that do this for you if you are lazy and dont feel like coding it up yourself.




回答3:


here you can get MAC Address in silverlight 4, using c#.



来源:https://stackoverflow.com/questions/1201351/get-mac-address-in-silverlight

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