Language

InetAddressUtils.IsIPv6HexCompressedAddress(String) Method

Definition

Checks whether the text matches the hexadecimal pattern containing a double colon.

[Android.Runtime.Register("isIPv6HexCompressedAddress", "(Ljava/lang/String;)Z", "")]
public static bool IsIPv6HexCompressedAddress(string? input);
[<Android.Runtime.Register("isIPv6HexCompressedAddress", "(Ljava/lang/String;)Z", "")>]
static member IsIPv6HexCompressedAddress : string -> bool

Parameters

input
String

The text to check against the compressed hexadecimal IPv6 pattern.

Returns

true if the input matches the compressed hexadecimal pattern; otherwise, false. This pattern does not enforce the total number of address groups.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to