rameshvl
November 9th, 2001, 02:47 AM
how to generate global unique id? pls give the code also
| // JP opened flex table
Click to See Complete Forum and Search --> : generation of id rameshvl November 9th, 2001, 02:47 AM how to generate global unique id? pls give the code also Norm November 9th, 2001, 06:34 PM I don't think it is possible. If you can create it, anyone can. Norm poochi November 12th, 2001, 09:46 AM Work with Local time and Local machine's IP address. Search on the web for free sourcecode. bayard November 12th, 2001, 10:40 AM If you just want a unique address for the machine, ie) inside the machine, then the timestamp and memory address of the object together should be nice and unique. However if you want a GUID in the MS sense, then go do some searching to see if someone has written a dll that you can natively access through Java. Java itself can't see the MAC address on the modem/NIC which I think is essential for a GUID. Not too sure about it all, there have been previous posts to codeguru on this, so try a search. Bayard bayard@generationjava.com http://www.generationjava.com Brainbench MVP for Java http://www.brainbench.com codeguru.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved. |