ROM_GetSerialNumber
ROM_GetSerialNumber()
Returns the unique hardware serial number of a Newton device.
DISCUSSION
- return value
- An 8 byte binary object containing the Newton device's serial number.
This function is not defined in neither Newton 1.x nor 2.0 OS. You should wrap the call to this function in
try
...onException
block, as in the following example:
The serial number returned in ROM is not the same as the serial number stamped on the Newton device. The ROM serial number is intended for use by programmers.local sn;
try sn := call ROM_GetSerialNumber with () onException |evt.ex| do nil; if sn then // ...
The
StrHexDump
andExtractByte
functions are designed to read binary objects.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help