Javax.Net.Ssl.SSLEngine.SetEnabledProtocols Method
Sets the protocol version names that should be enabled in this engine instance.

Syntax

[Android.Runtime.Register("setEnabledProtocols", "([Ljava/lang/String;)V", "GetSetEnabledProtocols_arrayLjava_lang_String_Handler")]
public abstract void SetEnabledProtocols (string[] protocols)

Parameters

protocols
the protocol version names to be enabled.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif one of the protocol version names is not supported, or if protocols is null.

Remarks

Sets the protocol version names that should be enabled in this engine instance. Only protocols listed by getSupportedProtocols() are allowed.

[Android Documentation]

Requirements

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