[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac Identifier
- To: "Andrew L. M. Shalit" <alms@cambridge.apple.com>
- Subject: Re: Mac Identifier
- From: Mark Kantrowitz <Mark.Kantrowitz@A.GP.CS.CMU.EDU>
- Date: Mon, 14 May 90 19:09:41 EDT
- Cc: Gallagher@cs.umass.edu, info-macl@cambridge.apple.com
- In-reply-to: Your message of Mon, 14 May 90 17:17:43 -0400. <9005142117.AA21844.alms@cambridge.apple.com>
This question isn't only applicable to MACL...
Is there any unique identifier for each Macintosh (like a serial
number) that I can get at from a program? I'd like my program to be
able to determine what machine `instance' it is running on.
CLtL (2e), page 706:
machine-instance [Function]
A string is returned that identifies the particular instance of computer
hardware on which Common Lisp is running; this might be a local nickname,
for example, or a serial number. Examples: "MIT-MC", "CMU GP-VAX".
However, MACL doesn't seem to use this to return serial numbers. This is
where I'd expect it to be, if anywhere. I've seen "About <foo> ..." Apple
menu picks that display the Mac's serial number, so it should be
accessible somehow. You might have to write C code and use the foreign
function interface to get at it, though.
--mark