ethernet address, client.ethernetaddress, kPMRPCClientEthernetAddress, kPMObserveClientEthernetAddress — Primary ethernet address.
Primary ethernet address.
A single ethernet address. Most likely to be the MAC address from the built-in ethernet card.
The address is formatted as six groups of two digits in lowercase.
ethernet address is a string.
ethernet address can be observed, without polling, using client.ethernetaddress,
ethernet address can be requested by any authenticated client.
Unauthenticated clients are authorized using the
uk.co.dssw.powermanager.client.ethernetaddress right. By default, any local process can request
Example 40. C: client.ethernetaddress
CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCClientEthernetAddress);
Example 41. Objective-C: client.ethernetaddress
DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCClientEthernetAddress];
Example 42. AppleScript: client.ethernetaddress
tell application "Power Manager Scripting" set myResult to ethernet address of Client end tell
Example 43. Shell: client.ethernetaddress