HostProcessorId Property

General info

Label

Processor

Description

The host processor ID.

Data type

String

Type

Regular

Code

1226

Symbolic name

MODEL_PROP_HOSTPROCESSORID

Lua access code

syslib.model.properties.HostProcessorId

Available since

1.0

Parent properties

HostInformation

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 HostProcessorId property.

  • Lua

  • C#

-- Read from the HostProcessorId
syslib.getvalue("<OBJECT FULL PATH>.HostInformation.HostProcessorId")

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

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