Made up a fast API, this lib can get values from the windows registry (No idea if it will work on Vista/Windows 7, only tested on windows xp), and inserting keys so you can store validation keys/whatever safely in the registry.
Jar - [Only registered and activated users can see links. ]
Src - [Only registered and activated users can see links. ]
Name = the CPU Name, for instance
"Genuine Intel(R) CPU T1350 @ 1.86GHz"
Speed = the CPU Speed in mhz
Identifier = The CPU arch model and family
"x86 Family 6 Model 14 Stepping 8"
Architecture = 32bit/64bit
Vendor = the CPU Vendor,
If you run the jar with "java -jar reglib.jar" it will show a demo like the above.
Getting values (Values with REG_SZ, for others find the appropriate methods):
Registry registry = new Registry();