Udostępnij za pośrednictwem


HttpCookies Class

Definition

Provides functionality to help interact with HTTP cookies.

public abstract class HttpCookies
type HttpCookies = class
Public MustInherit Class HttpCookies
Inheritance
HttpCookies

Constructors

HttpCookies()

Methods

Append(IHttpCookie)

Adds the provided IHttpCookie. To create a cookie, you can use the CreateNew() method.

Append(String, String)

Adds an HTTP cookie with the provided name and value.

CreateNew()

Creates an IHttpCookie instance for the current environment.

Applies to