Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to find windows installation date and time in java

807580Jan 25 2010 — edited Jan 27 2010
Hi all ,
I need to find a unique ID for PC in java so that I could dedicate my application to that PC and by running my application on each PC I could check its ID and be sure that the PC is the same .
I’ve tried Mac address ,PC Hard serial but they are not unique for all PCs (usually when they are from same company)
In .net I used this function : ManagementObjectSearcher("select * from Win32_Registry")
to get some windows OS information like windows installation date and time and pc name and OS version and etc , and by combination of this information I was creating an ID .
but I cannot find how to get this information in java .

I appreciate it if anyone could help me with this.
Best regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 24 2010
Added on Jan 25 2010
10 comments
277 views