vuIPAddress(IPIndex)
vuIPAddress(LONG), CSTRING
Description
Returns the specified IP address of the PC in dot notation. Use vuIPAddressCount to determine how many IP addresses are available.
Parameters
| Parameter |
Data Type |
Description |
| IPIndex |
LONG |
Index of the IP address to return (1 = primary) |
Returns
A null-terminated CSTRING containing the requested IP address (e.g., 192.168.127.1).
Example
! Get the primary IP address
MESSAGE('Primary IP Address = ' & vuIPAddress(1))
Notes
- Combine with
vuIPAddressCount() to enumerate all IP addresses assigned to the PC.