Since M$ has already gone to great lengths to create a hardware based key
couldn't you just use the product id of windows? While this is a suggestion
- it's also a question? Would it work to just go to the registry and base
it on the PID?
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\ CurrentVersion\ProductId
~ joe
Joseph Claeys
This e-mail may contain confidential and privileged material for the sole
use of the intended recipient(s). Any review, use, or distribution by others
is strictly prohibited. If you are not the intended recipient(s), please
contact the sender by reply e-mail and delete all copies of this message.
-----Original Message-----
From: gettingstarted-bounces at lists dot realsoftware dot com
[mailto:gettingstarted-bounces at lists dot realsoftware dot com] On Behalf Of
Simon
Vrdoljak
Sent: Monday, September 27, 2004 7:41 AM
To: Getting Started
Subject: Re: hard disk code
I've only been using macs for a short while but if you enter the command
'ioreg -l | grep IOPlatformSerialNumber' in the console it will return the
system serial number. It's the same number reported by the system profiler.
Not sure how unique it is though.
hth
Simon
On 27/09/2004, at 9:49 AM, Christian Schmitz wrote:
> Sean Arney <sean at rulessoftware dot com> wrote:
>
>> The Win call works great except that sometimes we have found that
>> some HDs have the same serial numbers!!
>
> This is okay, as the serial number is just a 32bit value stored in the
> first bytes of the hard disc.
>
> 10 years ago I wrote DOS applications to read/write the serial
> number...
>
> Mfg
> Christian
>
> --
>
> Eight thousand functions in one REALbasic plug-in. The MBS Plugin.
> <http://www.monkeybreadsoftware.de/realbasic/plugins.html>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives of this list here:
> <http://www.realsoftware.com/listarchives/lists.html>
>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|