The Artima Developer Community
Sponsored Link

Java Answers Forum
Identifying a computer

1 reply on 1 page. Most recent reply: Sep 7, 2002 5:31 AM by Kenneth S

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Tarba Dan

Posts: 11
Nickname: dtarba
Registered: May, 2002

Identifying a computer Posted: Sep 6, 2002 10:00 AM
Reply to this message Reply
Advertisement
Hi,

How can I get the serial number of a HDD or something is unique on a computer . I want to make a Java program that installs only on one computer.

Thanks


Kenneth S

Posts: 3
Nickname: devnio
Registered: Sep, 2002

Re: Identifying a computer Posted: Sep 7, 2002 5:31 AM
Reply to this message Reply
Although it won't help you identifying the unique sid of a computer, you might want to have a look at System.getProperty(). Check out this to see an overview of possible properties to fetch:

http://java.sun.com/j2se/1.4/docs/api/java/lang/System.html#getProperties()

Perhaps you could use "user.name" or some combination of some properties.

Flat View: This topic has 1 reply on 1 page
Topic: printing in java Previous Topic   Next Topic Topic: I get null value when I send form to be processed

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use