> That's a bad assumption regardless of the behavior of
> OTInetGetInterfaceInfo. Network hardware can be replaced or
> reprioritized.
Hmmm, that's not good... I thought that all Macs had a built-in MAC address,
regardless of what external networking hardware is attached. One that was
part of the motherboard or somesuch.
I was also told by Greg Robbins on the carbon-dev list a while back that
calling OTInetGetInterfaceInfo with "0" as the 2nd parameter would give me
the MAC address of the motherboard. Is this incorrect?
Currently, my revised program uses only *one* call to
OTInetGetInterfaceInfo, with 0 in the 2nd parameter, and if I get an error
code back from the function, then my program ignores the MAC address. But if
I get a valid result, then my program will treat its license file only if
the MAC address stored in the file is the same as the current MAC address.
-Vern
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-games-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden