GetOS
- Last UpdatedOct 29, 2026
- 1 minute read
GetOS is a built-in function that gets the operating system on the computer that hosts the project runtime.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetOS |
System Info |
Synchronous |
Yes |
Supported |
Supported |
Not supported |
Supported |
Not supported |
Syntax
GetOS()
GetOS ( )
This function has no parameters.
Return value
This function returns one of the following possible values:
|
Value |
Description |
|---|---|
|
2 |
Windows or Windows Server |
|
2 |
Windows Embedded Standard |