Android.Net.SSLCertificateSocketFactory.GetHttpSocketFactory Method
Returns a socket factory (also named SSLSocketFactory, but in a different namespace) for use with the Apache HTTP stack.

Syntax

[Android.Runtime.Register("getHttpSocketFactory", "(ILandroid/net/SSLSessionCache;)Lorg/apache/http/conn/ssl/SSLSocketFactory;", "")]
public static Org.Apache.Http.Conn.Ssl.SSLSocketFactory GetHttpSocketFactory (int handshakeTimeoutMillis, SSLSessionCache cache)

Parameters

handshakeTimeoutMillis
to use for SSL connection handshake, or 0 for none. The socket timeout is reset to 0 after the handshake.
cache
The Android.Net.SSLSessionCache to use, or null for no cache.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a socket factory (also named SSLSocketFactory, but in a different namespace) for use with the Apache HTTP stack.

[Android Documentation]

Requirements

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