Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CookieHeaderValue Class

Provides value for the cookie header.

System.Object
  System.Net.Http.Headers.CookieHeaderValue

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
[DefaultMemberAttribute("Item")]
public class CookieHeaderValue : ICloneable

The CookieHeaderValue type exposes the following members.

  NameDescription
Protected methodCookieHeaderValue()Initializes a new instance of the CookieHeaderValue class.
Public methodCookieHeaderValue(String, NameValueCollection)Initializes a new instance of the CookieHeaderValue class.
Public methodCookieHeaderValue(String, String)Initializes a new instance of the CookieHeaderValue class.
Top
  NameDescription
Public propertyCookiesGets a collection of cookies sent by the client.
Public propertyDomainGets or sets the domain to associate the cookie with.
Public propertyExpiresGets or sets the expiration date and time for the cookie.
Public propertyHttpOnlyGets or sets a value that specifies whether a cookie is accessible by client-side script.
Public propertyItemGets a shortcut to the cookie property.
Public propertyMaxAgeGets or sets the maximum age permitted for a resource.
Public propertyPathGets or sets the virtual path to transmit with the current cookie.
Public propertySecureGets or sets a value indicating whether to transmit the cookie using Secure Sockets Layer (SSL)—that is, over HTTPS only.
Top
  NameDescription
Public methodCloneCreates a shallow copy of the cookie value.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Overrides Object.ToString().)
Public methodStatic memberTryParseIndicates a value whether the string representation will be converted.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.