Condividi tramite


ISetCookie.SetSecure(Boolean) Method

Definition

Sets the secure attribute of the cookie.

[Android.Runtime.Register("setSecure", "(Z)V", "GetSetSecure_ZHandler:Org.Apache.Http.Cookies.ISetCookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetSecure (bool secure);
[<Android.Runtime.Register("setSecure", "(Z)V", "GetSetSecure_ZHandler:Org.Apache.Http.Cookies.ISetCookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetSecure : bool -> unit

Parameters

secure
Boolean

The value of the secure attribute

Attributes

Remarks

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

See also