CookieOptions.Secure Property

Gets or sets a value that indicates whether to transmit the cookie using Secure Sockets Layer (SSL)—that is, over HTTPS only.

Namespace:  Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

'Declaration
Public Property Secure As Boolean 
    Get 
    Set
'Usage
Dim instance As CookieOptions 
Dim value As Boolean 

value = instance.Secure

instance.Secure = value
public bool Secure { get; set; }
public:
property bool Secure {
    bool get ();
    void set (bool value);
}
member Secure : bool with get, set
function get Secure () : boolean 
function set Secure (value : boolean)

Property Value

Type: System.Boolean
true to transmit the cookie over an SSL connection (HTTPS); otherwise, false.

See Also

Reference

CookieOptions Class

Microsoft.Owin Namespace