I hereby claim:
- I am calebjohnston on github.
- I am calebjohnston0 (https://keybase.io/calebjohnston0) on keybase.
- I have a public key ASBXSzQGO5FQyB2iTxIAtaCxZ52ywLUfxA1bLRA41pu_pwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#import <IOKit/IOKitLib.h> | |
// | |
// Creates NSString representation of machine serial number | |
// | |
NSString *serial = nil; | |
io_service_t platform = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("IOPlatformExpertDevice")); | |
if (platform) { | |
CFTypeRef serialNumberAsCFString = |