GetComputerName
- Last UpdatedOct 29, 2026
- 1 minute read
Returns the local computer name.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetComputerName |
System Info |
Synchronous |
Yes |
Supported |
Not supported |
Not supported |
Supported |
Not supported |
Syntax
GetComputerName ( )
This function takes no parameters.
Returned value
Returns the local computer name as a string.
Examples
|
Tag Name |
Expression |
|---|---|
|
Tag |
GetComputerName() // Returned value = "Terminal53" |
|
Tag |
GetComputerName() // Returned value = "BobsComputer" |