Get(SystemIPAddress)
Purpose
Returns a list of the IP addresses of all computers connected to an active NIC (Network Interface Controller) card.
Format
Get(SystemIPAddress)
Parameters
None
Data type returned
text
Originated in
FileMaker Pro 7.0
Description
IP addresses are separated by carriage returns.
In FileMaker WebDirect, Get(SystemIPAddress) returns the IP address of the interface used to connect to the host.
Examples
Suppose a machine has the following active physical interfaces:
•an Ethernet card not connected to a network with an IP address of 10.10.10.10
•a Wi-Fi interface with an IP address of 192.168.1.1
•a VPN connection with an IP address of 172.172.172.172
The function returns:
192.168.1.1
172.172.172.172
Suppose a machine has the following active physical interfaces:
•an Ethernet card not connected to a network with an IP address of 2001::10
•a Wi-Fi interface with an IP address of 3FFE:FFFF:101::230:6EFF:FE04:D9FF/48
•a VPN connection with an IP address of 2001:0DB8:85A3:08D3:1319:8A2E:0370:7334
The function returns:
3FFE:FFFF:101::230:6EFF:FE04:D9FF/48
2001:0DB8:85A3:08D3:1319:8A2E:0370:7334
Related topics