Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CookieHeaderValue Class

CookieHeaderValue Class

 

Provides value for the cookie header.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

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

[DefaultMemberAttribute("Item")]
public class CookieHeaderValue : ICloneable

NameDescription
System_CAPS_protmethodCookieHeaderValue()

Initializes a new instance of the CookieHeaderValue class.

System_CAPS_pubmethodCookieHeaderValue(String, NameValueCollection)

Initializes a new instance of the CookieHeaderValue class.

System_CAPS_pubmethodCookieHeaderValue(String, String)

Initializes a new instance of the CookieHeaderValue class.

NameDescription
System_CAPS_pubpropertyCookies

Gets a collection of cookies sent by the client.

System_CAPS_pubpropertyDomain

Gets or sets the domain to associate the cookie with.

System_CAPS_pubpropertyExpires

Gets or sets the expiration date and time for the cookie.

System_CAPS_pubpropertyHttpOnly

Gets or sets a value that specifies whether a cookie is accessible by client-side script.

System_CAPS_pubpropertyItem[String]

Gets a shortcut to the cookie property.

System_CAPS_pubpropertyMaxAge

Gets or sets the maximum age permitted for a resource.

System_CAPS_pubpropertyPath

Gets or sets the virtual path to transmit with the current cookie.

System_CAPS_pubpropertySecure

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

NameDescription
System_CAPS_pubmethodClone()

Creates a shallow copy of the cookie value.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Overrides Object.ToString().)

System_CAPS_pubmethodSystem_CAPS_staticTryParse(String, CookieHeaderValue)

Indicates a value whether the string representation will be converted.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2015 Microsoft