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 / First Aid / March 2004

Tip: Looking for answers? Try searching our database.

Obtaining Hardware Info

Thread view: 
Minstrel - 13 Mar 2004 00:12 GMT
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.


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.