Android.Net.SSLCertificateSocketFactory.SetNpnProtocols Method
Sets the protocols that this peer is interested in.

Syntax

[Android.Runtime.Register("setNpnProtocols", "([[B)V", "GetSetNpnProtocols_arrayarrayBHandler")]
public virtual void SetNpnProtocols (byte[][] npnProtocols)

Parameters

npnProtocols
a non-empty list of protocol byte arrays. All arrays must be non-empty and of length less than 256.

Remarks

Sets the protocols that this peer is interested in.

For servers this is the sequence of protocols to advertise as supported, in order of preference. This list is sent unencrypted to all clients that support NPN.

For clients this is a list of supported protocols to match against the server's list. If there is no protocol supported by both client and server then the first protocol in the client's list will be selected. The order of the client's protocols is otherwise insignificant.

[Android Documentation]

Requirements

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