GetComputerIP
- Last UpdatedOct 29, 2026
- 1 minute read
Returns the first IP Address of the local computer.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetComputerIP |
System Info |
Synchronous |
Yes |
Supported |
Supported |
Supported |
Supported |
Supported |
Syntax
GetComputerIP()
This function takes no parameters.
Returned value
Returns the first IP Address of the local station as a string.
Examples
|
Tag Name |
Expression |
|---|---|
|
Tag |
GetComputerIP() // Returned value = "192.168.0.1" |
|
Tag |
GetComputerIP() // Returned value = "248.12.2.78" |