Android.Net.SSLCertificateSocketFactory.GetDefault Method
Returns a new socket factory instance with an optional handshake timeout and SSL session cache.

Syntax

[Android.Runtime.Register("getDefault", "(ILandroid/net/SSLSessionCache;)Ljavax/net/ssl/SSLSocketFactory;", "")]
public static Javax.Net.Ssl.SSLSocketFactory GetDefault (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 new socket factory instance with an optional handshake timeout and SSL session cache.

[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