mobicontrol.network.IpAddress

This class represents an Internet Protocol (IP) address.

IpAddress

Since:
  • Version 1.2 (API level 3)

Members

readonly hostAddress :string

IP address string in textual presentation.
Since:
  • Version 1.2 (API level 3)

readonly hostName :string

Host name for the IP address.

If the host name cannot be retrieved, the IP address is returned instead.

Since:
  • Version 1.2 (API level 3)

readonly isIpv4 :boolean

true if the IP address is in the IPv4 format, false otherwise.
Since:
  • Version 1.2 (API level 3)

readonly isIpv6 :boolean

true if the IP address is in the IPv6 format, false otherwise.
Since:
  • Version 1.2 (API level 3)

readonly isLinkLocalAddress :boolean

true if the address is a link local address, false otherwise.
Since:
  • Version 1.2 (API level 3)

readonly isLoopback :boolean

true if the address is a loopback address, false otherwise.
Since:
  • Version 1.2 (API level 3)