Share via


X509TrustManagerExtensions.IsSameTrustConfiguration(String, String) Method

Definition

Returns true if the TrustManager uses the same trust configuration for the provided hostnames.

[Android.Runtime.Register("isSameTrustConfiguration", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetIsSameTrustConfiguration_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=28)]
public virtual bool IsSameTrustConfiguration (string? hostname1, string? hostname2);
[<Android.Runtime.Register("isSameTrustConfiguration", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetIsSameTrustConfiguration_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=28)>]
abstract member IsSameTrustConfiguration : string * string -> bool
override this.IsSameTrustConfiguration : string * string -> bool

Parameters

hostname1
String
hostname2
String

Returns

Attributes

Remarks

Returns true if the TrustManager uses the same trust configuration for the provided hostnames.

Java documentation for android.net.http.X509TrustManagerExtensions.isSameTrustConfiguration(java.lang.String, java.lang.String).

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