ProcessorName Property

General info

Label

Processor Name

Tooltip

The CPU Name

Data type

String

Type

Regular

Code

55

Symbolic name

MODEL_PROP_PROCESSORNAME

Available since

1.6.0.999

Parent properties

ServicePropertyList

Examples

Read from or write to the ProcessorName property.

  • Lua

  • C#

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

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

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