SSLSessionCache Constructors
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.
Overloads
SSLSessionCache(Context) |
Create a session cache at the default location for this app. |
SSLSessionCache(File) |
Create a session cache using the specified directory. |
SSLSessionCache(Context)
Create a session cache at the default location for this app.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public SSLSessionCache (Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Net.SSLSessionCache : Android.Content.Context -> Android.Net.SSLSessionCache
Parameters
- context
- Context
for the application
- Attributes
Remarks
Create a session cache at the default location for this app. Multiple instances share data internally.
Java documentation for android.net.SSLSessionCache.SSLSessionCache(android.content.Context)
.
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.
Applies to
SSLSessionCache(File)
Create a session cache using the specified directory.
[Android.Runtime.Register(".ctor", "(Ljava/io/File;)V", "")]
public SSLSessionCache (Java.IO.File? dir);
[<Android.Runtime.Register(".ctor", "(Ljava/io/File;)V", "")>]
new Android.Net.SSLSessionCache : Java.IO.File -> Android.Net.SSLSessionCache
Parameters
- dir
- File
to store session files in (created if necessary)
- Attributes
Exceptions
if the cache can't be opened
Remarks
Create a session cache using the specified directory. Individual session entries will be files within the directory. Multiple instances for the same directory share data internally.
Java documentation for android.net.SSLSessionCache.SSLSessionCache(java.io.File)
.
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.