CookieHeaderValue.Secure Property
Gets or sets a value indicating whether to transmit the cookie using Secure Sockets Layer (SSL)—that is, over HTTPS only.
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
public bool Secure {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
public:
property bool Secure {
[CompilerGeneratedAttribute]
bool get();
[CompilerGeneratedAttribute]
void set(bool value);
}
member Secure : bool with get, set
Public Property Secure As Boolean
Property Value
Type: System.Boolean
true to transmit the cookie over an SSL connection (HTTPS); otherwise, false.
See Also
CookieHeaderValue Class
System.Net.Http.Headers Namespace
Return to top