Re: Detecting Illegitimate OS X Installations?
Re: Detecting Illegitimate OS X Installations?
- Subject: Re: Detecting Illegitimate OS X Installations?
- From: Andrew Farmer <email@hidden>
- Date: Sat, 17 Jun 2006 15:12:10 -0700
On 17 Jun 06, at 12:55, Colin Cornaby wrote:
I want to write code to explicitly keep my application from running
on non-Apple branded Intel hardware. I've seen this done in several
other applications, and I was wondering what indicators other
developers usually look for to tell if an application is running on
some other vendor's hardware. Until Apple officially condones OS X
on non-Apple hardware I don't want to support users running pirated
copies of OS X, on hardware that Apple doesn't support. Along with
the ethical stuff, I also don't want to bother supporting systems
running a hacked kernel and oddball graphics drivers.
Before I go any further, NOTE WELL that this technique will probably
break as Apple releases new hardware! Do not make use it unless you
fully believe you can keep your software available and up to date for
at least the next few years.
That being said...
One good technique for detecting illegitimate OS X installs could be
to check what kind of CPU is being used. Apple has not yet released
any Intel Macs which use anything except a Core Solo or Core Duo
chip, so any OS X install that's running on a Pentium 4 or an AMD
chip is definitely a hacked version. The easiest way to check the CPU
type, in turn, would be to use the CPUID instruction.
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden