gettingstarted
[Top] [All Lists]

Re: hard disk code

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: hard disk code
From: Simon Vrdoljak <fogger at swiftdsl dot com dot au>
Date: Mon, 27 Sep 2004 22:41:15 +1000
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <1gkr11j dot 1o0fx96kestgpM%support at monkeybreadsoftware dot de>
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>

<Prev in Thread] Current Thread [Next in Thread>