unique id for each computer

Is there a way that I can find out the id # of a computer using Java? I mean, is there an existing number that is unique for each computer that a computer user can find and also I can find using Java?Message was edited by: perksanders
[255 byte] By [perksandersa] at [2007-10-2 21:21:51]
# 1

> I mean, is there an existing

> number that is unique for each computer that a

> computer user can find and also I can find using

> Java?

No.

The available numbers are the CPU identifiers that most BIOS turn off by default, or IP Address. You can not tell before hand if an IP Address is unique or part of a private network, a private network assignment probably not being unique.

IPv6 will improve on this issue, but still not absolutely guarantee uniqueness.

MAC address will uniquely identify the NIC in the computer, but I can add virtual addresses on my systems that are functional but have no guarantee of uniqueness.

Why do you need this number? What are you trying to do?

cafala at 2007-7-14 0:31:58 > top of Java-index,Java Essentials,Java Programming...
# 2
It's like this, I'm working on a program that will hopefully be commercial. I'm thinking of ways to add locks so that when I give license to a user for a computer, the code given would only work for that one computer.
perksandersa at 2007-7-14 0:31:58 > top of Java-index,Java Essentials,Java Programming...
# 3

could he not just request all the USER agents to get this info?

Granted, I'm doing something similar here at my office, and unfortunately for me, both the request.getRemoteAddr() and request.getRemoteHost() or returning the same info, so I can't get more specific and unique, but still....couldn't you get it this way or not?

bpropes20a at 2007-7-14 0:31:58 > top of Java-index,Java Essentials,Java Programming...
# 4
so are you thinking of actually connecting to a server and exchanging information that way? So, in order to use the program, the user would have to register online, sort of.
perksandersa at 2007-7-14 0:31:59 > top of Java-index,Java Essentials,Java Programming...