SSLCertificateSocketFactory.GetNpnSelectedProtocol(Socket) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the Next Protocol Negotiation (NPN) protocol selected by client and server, or null if no protocol was negotiated.
[Android.Runtime.Register("getNpnSelectedProtocol", "(Ljava/net/Socket;)[B", "GetGetNpnSelectedProtocol_Ljava_net_Socket_Handler")]
public virtual byte[]? GetNpnSelectedProtocol (Java.Net.Socket? socket);
[<Android.Runtime.Register("getNpnSelectedProtocol", "(Ljava/net/Socket;)[B", "GetGetNpnSelectedProtocol_Ljava_net_Socket_Handler")>]
abstract member GetNpnSelectedProtocol : Java.Net.Socket -> byte[]
override this.GetNpnSelectedProtocol : Java.Net.Socket -> byte[]
Parameters
- socket
- Socket
a socket created by this factory.
Returns
- Attributes
Exceptions
if the socket was not created by this factory.
Remarks
Returns the Next Protocol Negotiation (NPN) protocol selected by client and server, or null if no protocol was negotiated.
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.