0

I need a way for a Java program to recognize a computer, even if the computers HDD have been wiped clean. Is there some ID or Serial that won't change that I can use. I would prefer if it could be done with pure java, so it could work for both windows and linux.

Yemto
  • 613
  • 1
  • 7
  • 18
  • Check out this guide on [How to get MAC address in Java](http://www.mkyong.com/java/how-to-get-mac-address-in-java/) – Ceiling Gecko Mar 25 '15 at 11:41
  • So the MAC address won't change, and will be unique for each computer? – Yemto Mar 25 '15 at 11:43
  • 1
    duplicate - http://stackoverflow.com/questions/1986732/how-to-get-a-unique-computer-identifier-in-java-like-disk-id-or-motherboard-id – S. Pauk Mar 25 '15 at 11:46
  • As for a lot of questions (in life) the answer is: It depends, please read up on MAC addresses. TLDR: MAC addresses can be changed and devices can and often do have multiple MAC addresses – reto Mar 25 '15 at 11:47

1 Answers1

0

A MAC address is unique & eternal number assigned to network interfaces for communications on the physical network segment. MAC addresses are used as a network address for most IEEE 802 network technologies, including Ethernet and WiFi

Raghuveer
  • 2,859
  • 7
  • 34
  • 66