3

We have a license key system which requires the MAC address of the network card of the PC. To make it easier for the user, I am looking into getting the MAC address (or some other similar system identification info) with a web page.

Do Flash (or Flex), JavaScript or Java Applets provide any APIs to query system information?

ROMANIA_engineer
  • 51,252
  • 26
  • 196
  • 186
Paul
  • 2,354
  • 5
  • 31
  • 46

2 Answers2

1

This might help you:

how to get a client's MAC address from HttpServlet?

Community
  • 1
  • 1
treeface
  • 13,082
  • 3
  • 49
  • 57
  • 1
    three links deep, there's this: http://java.sun.com/javase/6/docs/api/java/net/NetworkInterface.html#getHardwareAddress() which just might be what you're looking for. In a Java applet, this will probably require asking for additional permissions. – Piskvor left the building Aug 31 '10 at 17:14
0

This link shows you how to get system information using JavaScript:

This article will show you how to write custom JavaScript objects 
that retrieve system information using the Windows Management 
Information (WMI) classes.

http://code.google.com/apis/desktop/articles/e3.html

dvanaria
  • 6,373
  • 22
  • 60
  • 80
  • 3
    ...for a Desktop Gadget. This information is (intentionally, and for a Good Reason) not visible to in-browser JavaScript. Would you like just any website to go messing with your system's internals? – Piskvor left the building Aug 31 '10 at 17:12