Javax.Net.Ssl.HttpsURLConnection.DefaultHostnameVerifier Property
Returns the default hostname verifier.

Syntax

[get: Android.Runtime.Register("getDefaultHostnameVerifier", "()Ljavax/net/ssl/HostnameVerifier;", "GetGetDefaultHostnameVerifierHandler")]
[set: Android.Runtime.Register("setDefaultHostnameVerifier", "(Ljavax/net/ssl/HostnameVerifier;)V", "GetSetDefaultHostnameVerifier_Ljavax_net_ssl_HostnameVerifier_Handler")]
public static IHostnameVerifier DefaultHostnameVerifier { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the specified verifier is null.
Java.Lang.IllegalArgumentExceptionif the specified verifier is null.
Java.Lang.IllegalArgumentExceptionif the specified verifier is null.
Java.Lang.IllegalArgumentExceptionif the specified verifier is null.
Java.Lang.IllegalArgumentExceptionif the specified verifier is null.

Remarks

Get method documentation [Android Documentation]

Returns the default hostname verifier.

Set method documentation [Android Documentation]

Sets the default hostname verifier to be used by new instances.

Requirements

Namespace: Javax.Net.Ssl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1