• 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: machine with null serial number?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: machine with null serial number?


  • Subject: Re: machine with null serial number?
  • From: Matt Burnett <email@hidden>
  • Date: Sat, 29 Mar 2008 03:01:02 -0500

I forgot the name of it, but there is a kext that allows you to change your MAC address. For software licensing this could be a issue since a pirate could change their MAC address, albeit not of every machine on their network. It is much more difficult (but possible) to change your systems serial number with out a logic board replacement. If you use the MAC address and the user has their logic board replaced it would invalidate their license.

On Mar 28, 2008, at 11:00 PM, Jerry Krinock wrote:

Apple recommends using the primary MAC (Media Access Layer) address instead of the machine serial number to uniquely identify a computer for this purpose. Read:

http://developer.apple.com/technotes/tn/tn1103.html

You can find some code on developer.apple.com named "GetPrimaryMACAddress.c" for getting this.

Another possible cause of no serial number is that the machine is a so-called "Hackintosh"; non-Apple hardware modified to run Mac OS X.

I modified GetPrimaryMACAddress.c, adding a Cocoa wrapper and the ability to handle null MAC addresses by substituting the user's primary email if the primary MAC address comes up NULL. (It was been reported to me that Hackintoshes don't report MAC addresses either.) It's straightforward. The implementation is too long to paste in here but if anyone wants it I can post it somewhere. Here's the .h:

#import <Cocoa/Cocoa.h>

@interface SSIOKit : NSObject

+ (NSData*)primaryMACAddressData ;
//+ (NSData*)machineSerialNumberData ; // not recommended

@end

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: machine with null serial number? (From: Scott Ribe <email@hidden>)
 >Re: machine with null serial number? (From: Matt Burnett <email@hidden>)
 >Re: machine with null serial number? (From: David Rogers <email@hidden>)
 >Re: machine with null serial number? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: RE: Subverting the first responder chain
  • Next by Date: Re: QTMovie delegate method with 64 bit
  • Previous by thread: Re: machine with null serial number?
  • Next by thread: Re: machine with null serial number?
  • Index(es):
    • Date
    • Thread