Name
version, build.version, kPMRPCBuildVersion, kPMObserveBuildVersion — Engine's release version.
Synopsis
string build.version( |
); |
Description
Engine's release version.
version is provided as a URI and three part release number. The engine release number follows the traditional major, minor, and bug fix format.
| The major value denotes significant changes, such as architectural modifications. |
| The minor value denotes new features or improvements. |
| The bug fix value denotes bug fixes only. |
Before presenting version, we recommend removing all but the final component of the URI. The URI is a reverse domain name styled string.
| (product URI) v(major).(minor).(bug fix) |
| uk.co.dssw.powermanager.pmd v4.0.0 |
| uk.co.dssw.powermanager.pnmd v4.0.0 |
Security
version can be requested by any authenticated client.
Unauthenticated clients are authorized using the uk.co.dssw.powermanager.build.version right. By default, any local process can request version.
Examples
Example 17. C: build.version
CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCBuildVersion);
Example 18. Objective-C: build.version
DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCBuildVersion];
Example 19. AppleScript: build.version
tell application "Power Manager Scripting"
set myResult to version of Build
end tell