Re: The macs serial number (clearer)
Re: The macs serial number (clearer)
- Subject: Re: The macs serial number (clearer)
- From: email@hidden
- Date: Tue, 3 Sep 2002 22:33:10 +0100
That looks a lot more helpful that what I get.
The value IS in Hex format with the last part of the serial number
stated first ??
followed by the the first part later...if you know what I mean.
Only trouble is I have no idea how to convert the hex string back to
normal C string or NSString.
Any Takers??
Thanks
Jonathan Guy
On Tuesday, September 3, 2002, at 05:38 PM, Diggory Laycock wrote:
>
I just had a look in My IOReg Explorer (Pismo Powerbook, Jaguar )
>
>
under Serial-Number I get the following:
>
>
key: serial-number
>
type: data
>
value: <"HDSM7633LL/A" , "QT008O7R">
>
>
The serial Number on the Bottom of my PB is thus:
>
>
QT008O7RHDS
>
>
Does this help you?
>
>
>
>
>
On Tuesday, September 3, 2002, at 04:37 pm, Jonathan Guy wrote:
>
>
> Sorry for the second post but I think I need to make this a little
>
> clearer.
>
>
>
> What I need is access to the serial number on the back of the mac NOT
>
> any other serial number.
>
> This is PURELY for asset management purposes and NOT any form of copy
>
> protection.
>
> I am aware that not all macs support hardware serial numbers.
>
> Typing AppleSystemProfiler in the terminal is not an option this must
>
> be achieved using some form
>
> of C or objective-C code.
>
> Typing ioreg in the terminal is also not an option.
>
> Using the IORegistry explorer lists the "serial-number" property as
>
>
>
> 4b364100 00000000 00000000 00534730 33343252 58000000 00000000
>
> 00000000
>
> 00000000 00000000 000000
>
>
>
> which is clearly not the serial number on the back of my machine. Is
>
> this coded?
>
>
>
> Basically I have a network daemon which needs to return certain
>
> machine
>
> specific data, one of them
>
> being the serial number (if available).
>
>
>
> Thanks again for any help. I'm pretty desperate for this now and can't
>
> seem to find anything on it.
>
>
>
> Jonathan Guy
>
> _______________________________________________
>
> cocoa-dev mailing list | email@hidden
>
> Help/Unsubscribe/Archives:
>
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
> Do not post admin requests to the list. They will be ignored.
>
>
>
>
>
Diggory Laycock
>
-----------------------
>
http://www.diggory.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.