OperatingSystemName Property

General info

Label

Operating System Name

Description

The Operating System Name

Data type

String

Type

Regular

Code

54

Symbolic name

MODEL_PROP_OPERATINGSYSTEMNAME

Lua access code

inmation.model.properties.OperatingSystemName

Available since

1.6.0.999

Parent properties

ServicePropertyList

Examples

Read from or write to the OperatingSystemName property.

  • Lua

  • C#

-- Read from the OperatingSystemName
inmation.getvalue("<OBJECT FULL PATH>.OperatingSystemName")

-- Write to the OperatingSystemName
inmation.setvalue("<OBJECT FULL PATH>.OperatingSystemName", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the OperatingSystemName
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.OperatingSystemName"));
// Write to the OperatingSystemName
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.OperatingSystemName"));