SoftwareVersion Property

General info

Label

Version

Tooltip

The version of the executed file

Data type

String

Type

Regular

Code

723

Symbolic name

MODEL_PROP_SOFTWAREVERSION

Available since

1.8.1.1450

Parent properties

SoftwareInformation

Attributes

Name Tooltip
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs
PROP_VOLATILE The property exists during runtime of the service only and is not saved to the image
PROP_DETECTABLE Property is detectable by system-driven server endpoint investigation

Examples

Read from or write to the SoftwareVersion property.

  • Lua

  • C#

-- Read from the SoftwareVersion
inmation.getvalue("/System/Core/obj.SoftwareVersion")

-- Write to the SoftwareVersion
inmation.setvalue("/System/Core/obj.SoftwareVersion", "new value")
string path = "/System/Core/obj.SoftwareVersion";
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the SoftwareVersion
Result result = sli.ReadValue(sc, new ReadItem(path));
// Write to the SoftwareVersion
Result result = sli.WriteValue(sc, new WriteItem("new value", path));