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 |
Returns
version
is a string.
Observable
Changes to version
can be observed, without polling, using build.version, kPMObserveBuildVersion
.
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
.
Availablility
pmdctl |
Examples
Example 23. C: build.version
CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCBuildVersion);
Example 24. Objective-C: build.version
DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCBuildVersion];
Example 25. AppleScript: build.version
tell application "Power Manager Scripting" set myResult to version of Build end tell
Example 26. Shell: build.version
./pmctl build.version