Version: 11
restore

Contents

Method

GetVariable

ModuleNomad
Library1E
Action

Gets the value of the given Nomad "variable".

A variable can be any piece of info about Nomad such as a registry setting or even some computed value based on the current state of Nomad. This API is meant to be a flexible way of getting info out from Nomad which can be extended in future without breaking any COM interfaces. Currently the following three are the only supported variable
  1. CacheAvailableBytes: The disk space currently available to Nomad for its cache in bytes.
  2. CacheUsedBytes: The disk space currently used by Nomad.
  3. SSDEnabled: The value of registry setting “SSDEnabled”.
ParametersVariableName (string): Name of the variable to get.
Return valuesValue (string): The value of the requested variable.
Example

Get the current value of Nomad setting “SSDEnabled”: 

Nomad.GetVariable(VariableName: "SSDEnabled");
Platforms
  • Windows
Notes

Requires Nomad v6.3.200 or later.

Available from Tachyon v3.2.