简体   繁体   中英

Get MAC address in Silverlight

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

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.

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.

在这里,您可以使用c#在silverlight 4中获取MAC地址。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM