Re: How do I retrieve a unique computer ID from java

frankgerlach22_at_gmx.de
Date: 01/03/05


Date: 3 Jan 2005 13:38:19 -0800

Did you check the java.net package ?
Eg: stHostname=java.net.InetAddress.getLocalHost().getHostName();
gives you the hostname of the current machine. Compute a hash on the
hostname
if you need a number. Either use the hashCode() method or (more
sophisticated)
perform an MD5.



Relevant Pages

  • Re: dhcp hostname
    ... Hash: RIPEMD160 ... Carl Karsten schrieb am 07.03.2006 01:33: ... that would have to be updated if the hostname gets updated. ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
    (Ubuntu)
  • RE: Hash Issue or Understanding
    ... Subject: Hash Issue or Understanding ... >hostname, IP addrress, OS, Version, Release, Server Type, Model, Memory ...
    (perl.beginners)
  • Re: DBI v2 - The Plan and How You Can Help
    ... If this is a complex data type like a hash, ... databases which know about hostname, port, usename and password, he will ... He will never anticipate that Informix (as Jonathan explained at ... port, so his application won't be able to connect to Informix. ...
    (perl.dbi.users)
  • Re: BSDstats Project v2.0 ...
    ... Then have an MD5 hash of `hostname` (hashing the full ... (this machine has two ethernet cards in it, and no, ... That way you can pick some algorithm which should ...
    (freebsd-questions)
  • Re: Hash Issue or Understanding
    ... >hostname, IP addrress, OS, Version, Release, Server Type, Model, Memory ... >It seems to me the hash started almost at the bottom of the list instead of ...
    (perl.beginners)