SSLSocket.SetEnabledProtocols(String[]) SSLSocket.SetEnabledProtocols(String[]) Method

Definition

Sets the names of the protocols to be enabled.

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

Parameters

protocols
String[]

the names of the to be enabled protocols.

Exceptions

if one of the protocols is not supported.

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