• 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: Hardware Addressing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hardware Addressing


  • Subject: Re: Hardware Addressing
  • From: Sarwat Khan <email@hidden>
  • Date: Wed, 15 Aug 2001 20:31:57 -0400

You could probably use the routines in CFUUID.h, part of CoreFoundation. I'm guessing you would do it like this,

#import <CoreFoundation/CFUUID.h>

....

- (NSString*) blah
{
CFUUIDRef myUUID;
CFStringRef cfString;

myUUID = CFUUIDCreate(NULL);
cfString = CFUUIDCreateString(myUUID);
//you can use a CFString as if it were an NSString object

CFRelease(myUUID);

return [cfString autorelease];
}


  • Prev by Date: RE: [OT] default web browser
  • Next by Date: Re: Window resizing make weird things happen
  • Previous by thread: Re: Hardware Addressing
  • Next by thread: Fun with NSRunLoop
  • Index(es):
    • Date
    • Thread