Hello,
I'd like to obtain hardware info about the system the user is running on.
What I'm looking for is a way to obtain hard drive serial number, network
card serial number, processor id, etc. I'm trying to build an application
which will hardware lock to a given machine based on that machine's hardware
specifics. I'm looking for a Mac9, MacX, Windows
solution.
Which java class would handle this kind of thing?
Thanks in advance,
Brian
Christophe Vanfleteren - 13 Mar 2004 00:41 GMT
> Hello,
>
[quoted text clipped - 11 lines]
>
> Brian
No such class exists, and I'm pretty sure you'd have to write native code
for all of these platforms to make such a thing work.

Signature
Kind regards,
Christophe Vanfleteren
Roedy Green - 17 Mar 2004 01:52 GMT
>Which java class would handle this kind of thing?
Likely you will need custom JNI code. Some CPUs don't have serial
numbers. See http://mindprod.com/products.html#CPUSER for asm to get
Pentium serial number.
see http://mindprod.com/jgloss/jni.html
http://mindprod.com/jgloss/jconfig.html
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Roedy Green - 17 Mar 2004 01:52 GMT
> I'm trying to build an application
>which will hardware lock to a given machine based on that machine's hardware
>specifics. I'm looking for a Mac9, MacX, Windows
some of this stuff you can get from the System properties.
see http://mindprod.com/jgloss/wassup.html
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.