Unique Macintosh Identification
kray at sonsothunder.com
Thu Feb 21 14:04:00 EST 2002
Thanks, Roger. Unfortunately it means I'd need to launch another app and
then make it quit just to get the serial number. Perhaps there's a gestalt
reference out there? Then I could use a gestalt XCMD or equivalent...
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
----- Original Message -----
From: <Roger.E.Eller at sealedair.com>
To: <use-revolution at lists.runrev.com>
Sent: Thursday, February 21, 2002 11:43 AM
Subject: Re: Unique Macintosh Identification
> > This is slightly off-topic, but does anyone know how to uniquely
> a Mac?
> > We're trying to set up a specific install that works on a set number of
> > by getting a unique ID for the machine and using it to verify that the
> machine is
> > "licensed". This doesn't have to specifically be through MetaCard (it
> could be
> > AppleScript, XCMD, gestalt selector, etc.).
> The following information is not from me. This was a previous topic of
> discussion here, and I saved it for my own future reference. It appears to
> address what you want to do.
> ~Roger Eller <roger.e.eller at sealedair.com>
> >>>I'd appreciate hearing any thoughts on ways to build in serial number
> >>>protection...at least into one main opening stack.
> >> Hi Richard,
> >> Before I describe my approach, let me point out its limitations:
> >> 1. It is Mac-specific.
> >> 2. It only works on hardware/OS combos where the Apple System Profiler
> >> returns the computer serial number.
> >> 3. It works for me because my product is designed and priced for a
> >> marketplace.
> >> That being said, the AppleScript script:
> >> on getSerial()
> >> tell application "Apple System Profiler"
> >> launch
> >> copy SerialNumber to myNumber
> >> quit application "Apple System Profiler"
> >> end tell
> >> return myNumber
> >> end getSerial
> >> will return the Mac's serial #. (BTW, Apple System Profiler does NOT
> >> but that's another issue.)
> >> When a winemaker orders, or subscribes to, OenoLog, the license is
> >> to the her/his Mac by serial number...which he/she retrieves using the
> >> System Profiler and includes on the order form. I burn a CD for that
> >> specific installation with the serial # encrypted in the stack.
> >> As I look to the future, I must determine which of the Mac-specific
> >> features in OenoLog can be reprogramed to be platform independent, and
> >> which must be given up if I am to achieve cross-platform compatability.
> >> would be nice if Revolution had a built-in method of uniquely
> >> the computer it's running on. Some people have suggested the Ethernet
> >> address as a possibility; but for my purposes the serial # is more
> >> retrieved by the user.
> >> I'd be happy to participate in any effort address the issue by RunRev
> >> MetaCard staff and/or users. I'd also be interested in hearing from
> >> who knows what toolbox call ASP uses to retrieve the serial # (some
> >> argument to gestalt(??)). If I knew that, I could ditch AppleScript;
> >> I'm too cheap to pay Apple $200 so I can ask them directly.
> >> Rob Cozens
> >> CCW, Serendipity Software Company
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode