HttpCookieManager HttpCookieManager HttpCookieManager HttpCookieManager HttpCookieManager Class

Definition

Add or delete an HttpCookie or view the cookies associated with an app.

public : sealed class HttpCookieManager : IHttpCookieManager
struct winrt::Windows::Web::Http::HttpCookieManager : IHttpCookieManager
public sealed class HttpCookieManager : IHttpCookieManager
Public NotInheritable Class HttpCookieManager Implements IHttpCookieManager
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The HttpCookieManager object is used to add or delete an HttpCookie or view the cookies associated with an app.

The CookieManager property on HttpBaseProtocolFilter returns an HttpCookieManager object. To construct an HttpCookieManager, a HttpBaseProtocolFilter object is first created and then the CookieManager property on HttpBaseProtocolFilter returns the HttpCookieManager object.

Methods

DeleteCookie(HttpCookie) DeleteCookie(HttpCookie) DeleteCookie(HttpCookie) DeleteCookie(HttpCookie) DeleteCookie(HttpCookie)

Delete an HttpCookie from the cookies associated with an app.

GetCookies(Uri) GetCookies(Uri) GetCookies(Uri) GetCookies(Uri) GetCookies(Uri)

Gets an HttpCookieCollection that contains the HttpCookie instances that are associated with a specific URI.

SetCookie(HttpCookie) SetCookie(HttpCookie) SetCookie(HttpCookie) SetCookie(HttpCookie) SetCookie(HttpCookie)

Add or change an HttpCookie in the cookies associated with an app that is sent on future requests.

SetCookie(HttpCookie, Boolean) SetCookie(HttpCookie, Boolean) SetCookie(HttpCookie, Boolean) SetCookie(HttpCookie, Boolean) SetCookie(HttpCookie, Boolean)

Add or change an HttpCookie in the cookies associated with an app.

See Also