HttpCookieCollection
Wisej.Core.HttpCookieCollection
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.1.0.0)
Encapsulates the cookies sent in an HTTP request.
Properties
AllKeys

String[]: Returns all the keys (cookie names) in the cookie collection.
Count

Int32: Returns the number of cookies in the collection.
Item(name)

HttpCookie: Returns the cookie with the specified name from the cookie collection.
Item(index)

HttpCookie: Returns the cookie with the specified numerical index from the cookie collection.
Methods
Add(cookie)

Adds the specified cookie to the cookie collection.
Clear()

Clears all cookies from the cookie collection.
Get(name)

Returns the cookie with the specified name from the cookie collection.
Returns: HttpCookie.
Get(index)

Returns the HttpCookie at the specified index.
Returns: HttpCookie.
GetKey(index)

Returns the key (name) of the cookie at the specified numerical index.
Returns: String.
Remove(name)

Removes the cookie with the specified name from the collection.
Set(cookie)

Updates the value of an existing cookie in a cookie collection.
Last updated
Was this helpful?