问题
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