gettingstarted
[Top] [All Lists]

Re: hard disk code

To: gettingstarted at lists dot realsoftware dot com (Getting Started)
Subject: Re: hard disk code
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Tue, 28 Sep 2004 02:45:28 +0200
Comments: Written on a PowerMac G4 and sent via DSL.
Delivered-to: gettingstarted at lists dot realsoftware dot com
Simon Vrdoljak <fogger at swiftdsl dot com dot au> wrote:

> 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.

system.MacSerialNumberMBS as string 

returns the same number on Mac OS 9 and Mac OS X.

But this number is not garanteed to exist on all machines as it's stored
somewhere in parameter ram or on the hard disc.

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>

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