Android.Net.SSLCertificateSocketFactory.GetNpnSelectedProtocol Method
Returns the protocol selected by client and server, or null if no protocol was negotiated.

Syntax

[Android.Runtime.Register("getNpnSelectedProtocol", "(Ljava/net/Socket;)[B", "GetGetNpnSelectedProtocol_Ljava_net_Socket_Handler")]
public virtual byte[] GetNpnSelectedProtocol (Java.Net.Socket socket)

Parameters

socket
a socket created by this factory.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the socket was not created by this factory.

Remarks

Returns the protocol selected by client and server, or null if no protocol was negotiated.

[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