OperatingSystemDetails Attribute
Data Type: JsonObject
4GL Access: R
The OperatingSystemDetails attribute provides information about the operating system OpenROAD application is running on. It is a JsonObject with members representing the details.
On Windows it has the following members:
• ProductName
• EditionID
• CurrentMajorVersion
• CurrentMinorVersion
• CurrentBuild
• UBR
• ReleaseId
• DisplayVersion
On Linux it has the following members:
• sysname
• nodename
• release
• version
• machine
Example to write the attribute to the trace window / log file:
declare
json = StringObject;
enddeclare
{
CurSession.JsonHandler.Write(value = CurSession.OperatingSystemDetails, json = json, indented = TRUE);
CurExec.Trace(string = json);
}
Last modified date: 12/20/2023