IpAddress.getLocalAddress

Get the computer's local address.

The local address is the address of the computer from the LAN point of view, i.e. something like 192.168.1.56. It is meaningful only for communications over the local network. Unlike getPublicAddress, this function is fast and may be used safely anywhere.

struct IpAddress
static
getLocalAddress
(
)

Return Value

Type: IpAddress

Local IP address of the computer.

Meta