Läs på engelska

Dela via


CookieHandler.Default Property

Definition

Gets the system-wide cookie handler. -or- Sets (or unsets) the system-wide cookie handler.

C#
public static Java.Net.CookieHandler? Default { [Android.Runtime.Register("getDefault", "()Ljava/net/CookieHandler;", "")] get; [Android.Runtime.Register("setDefault", "(Ljava/net/CookieHandler;)V", "")] set; }

Property Value

the system-wide cookie handler; A null return means there is no system-wide cookie handler currently set.

Attributes

Remarks

Property getter documentation:

Gets the system-wide cookie handler.

Java documentation for java.net.CookieHandler.getDefault().

Property setter documentation:

Sets (or unsets) the system-wide cookie handler.

Note: non-standard http protocol handlers may ignore this setting.

Java documentation for java.net.CookieHandler.setDefault(java.net.CookieHandler).

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35