Java.Net.HttpCookie.DomainMatches Method
Returns true if host matches the domain pattern domain.

Syntax

[Android.Runtime.Register("domainMatches", "(Ljava/lang/String;Ljava/lang/String;)Z", "")]
public static bool DomainMatches (string domainPattern, string host)

Parameters

domainPattern
a host name (like android.com or localhost), or a pattern to match subdomains of a domain name (like .android.com). A special case pattern is .local, which matches all hosts without a TLD (like localhost).
host
the host name or IP address from an HTTP request.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns true if host matches the domain pattern domain.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9