Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

Generating a UUID that is the same every time for a single system

Thread view: 
John Fly - 09 Mar 2007 21:24 GMT
I need a rock solid way to generate a UUID or similar ID, that will
generate the same ID every time for an individual system(computer).

I would not like to store the ID on the system(i.e file or in memory),

Any help is appreciated.
Stefan Ram - 09 Mar 2007 21:30 GMT
>I need a rock solid way to generate a UUID or similar ID, that will
>generate the same ID every time for an individual system(computer).

 OK, just give me a rock solid definition of »individual system«.

 Is it the same system after the memory was extended, after the
 operating system was upgraded/changed, after the processor was
 changed, after the hard disk was exchanged, after the network
 interface hardware was changed, after the network
 identification was changed, after is has been sold/lend to
 another owner ... ?
John Fly - 10 Mar 2007 01:49 GMT
> >I need a rock solid way to generate a UUID or similar ID, that will
> >generate the same ID every time for an individual system(computer).
[quoted text clipped - 7 lines]
>   identification was changed, after is has been sold/lend to
>   another owner ... ?

Easily understood that no way to be 100%, but If I was doing this with
a C/C++ app I would usually try to grab the CPU ID, or some ID off the
motherboard.

Something that will change very infrequently.
Joshua Cranmer - 10 Mar 2007 01:51 GMT
> I need a rock solid way to generate a UUID or similar ID, that will
> generate the same ID every time for an individual system(computer).
>
> I would not like to store the ID on the system(i.e file or in memory),
>
> Any help is appreciated.

There was a recent discussion on this in c.l.j.programmer under the
title "securing my software (unique computer identification number)",
first post 3/4/2007 1:32 PM (try
news:1173033132.670276.37620@30g2000cwc.googlegroups.com, I'm not sure
if that will work though).
Arne Vajhøj - 12 Mar 2007 03:49 GMT
> I need a rock solid way to generate a UUID or similar ID, that will
> generate the same ID every time for an individual system(computer).

If it is the same for every call on the system, then it is not
an UUID.

:-)

I think you should use JNI to call some C++ that did something
very hardware specific to get an ID.

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.