• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: The macs serial number (clearer)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The macs serial number (clearer)


  • Subject: Re: The macs serial number (clearer)
  • From: Nathan Day <email@hidden>
  • Date: Wed, 4 Sep 2002 18:23:12 +0930

Look at the the c function
unsigned long strtoul(const char *nptr, char **endptr, int base);
use this on your hex string 2 characters at a time and you will have each characters ascii code. You can construct a c string from that.


On Wednesday, September 4, 2002, at 07:03 AM, email@hidden wrote:

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.

Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
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.

References: 
 >Re: The macs serial number (clearer) (From: email@hidden)

  • Prev by Date: massive problems with new nibtool
  • Next by Date: [ANN] Disclosable view updated for 10.2
  • Previous by thread: Re: The macs serial number (clearer)
  • Next by thread: How to 'set' NSScrollView of NSTableView ?
  • Index(es):
    • Date
    • Thread