With administrative access you can get the ProductID from the
registry.  I had used it before in a unit for security purposes, but then
some told me that that ID might be changed by additions to Windows, such as
the update with a service pack.  I don't know if this is true or not, and I
don't recall the exact reg entry but do a search under the Windows Keys for
"ProductID" and you'll find it.

from Robert Meek dba Tangentals Design  CCopyright 2006
Proud to be a moderator of "The Delphi Lists" at elists.org

"When I examine myself and my methods of thought, I come to the conclusion
that the gift of Fantasy has meant more to me then my talent for absorbing
positive knowledge!"
                                                    Albert Einstein


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Chris Stebbing
Sent: Sunday, June 11, 2006 8:06 PM
To: Delphi List
Subject: windows key

Hi All,

I'm wondering whether it's possible to retrieve the windows product 
key from Delphi?  I was thinking that it might be useful as a 
<relatively> unique identifier.

Cheers,
Chris.

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to