Name
machine model, client.machinemodel, kPMRPCClientMachineModel, kPMObserveClientMachineModel — Machine's model type.
Synopsis
string client.machinemodel( |
); |
Security
machine model can be requested by any authenticated client.
Unauthenticated clients are authorized using the uk.co.dssw.powermanager.client.machinemodel right. By default, any local process can request machine model.
Examples
Example 42. C: client.machinemodel
CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCClientMachineModel);
Example 43. Objective-C: client.machinemodel
DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCClientMachineModel];
Example 44. AppleScript: client.machinemodel
tell application "Power Manager Scripting"
set myResult to machine model of Client
end tell