[Serializable] |
For a list of initial property values for an instance of Cookie, see the various Cookie constructors.
ctor #1 | Overloaded:.ctor() Default constructor. This constructor is called by derived class constructors to initialize state in this type.Initializes a new instance of the Cookie class. |
ctor #2 | Overloaded:.ctor(string name, string value) Initializes a new instance of the Cookie class with a specified Cookie.Name and Cookie.Value. |
ctor #3 | Overloaded:.ctor(string name, string value, string path) Initializes a new instance of the Cookie class with a specified Cookie.Name, Cookie.Value, and Cookie.Path. |
ctor #4 | Overloaded:.ctor(string name, string value, string path, string domain) Initializes a new instance of the Cookie class with a specified Cookie.Name, Cookie.Value, Cookie.Path, and Cookie.Domain. |
Comment | Read-write Gets or sets a comment that the server can add to a Cookie. |
CommentUri | Read-write Gets or sets a URI comment that the server can provide with a Cookie. |
Discard | Read-write Gets or sets the discard flag set by the server. |
Domain | Read-write Gets or sets the URI for which the Cookie is valid. |
Expired | Read-write Gets or sets the current state of the Cookie. |
Expires | Read-write Gets or sets the expiration date and time for the Cookie as a DateTime. |
Name | Read-write Gets or sets the name for the Cookie. |
Path | Read-write Gets or sets the URIs to which the Cookie applies . |
Port | Read-write Gets or sets a list of TCP ports that the Cookie applies to. |
Secure | Read-write Gets or sets the security level of a Cookie. |
TimeStamp | Read-only Gets the time when the cookie was issued as a DateTime. |
Value | Read-write Gets or sets the Cookie.Value for the Cookie. |
Version | Read-write Gets or sets the version of HTTP state maintenance to which the cookie conforms. |
Equals | Overridden: Overrides the Object.Equals method. |
GetHashCode | Overridden: Overrides the Object.GetHashCode method. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString | Overridden: Overrides the Object.ToString method. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public Cookie(); |
name
value
name
value
path
name
value
path
domain
public string Comment {get; set;}
|
public Uri CommentUri {get; set;}
|
public bool Discard {get; set;}
|
public string Domain {get; set;}
|
public bool Expired {get; set;}
|
public DateTime Expires {get; set;}
|
public string Name {get; set;}
|
public string Path {get; set;}
|
public string Port {get; set;}
|
public bool Secure {get; set;}
|
public DateTime TimeStamp {get;}
|
public string Value {get; set;}
|
public int Version {get; set;}
|
comparand
~Cookie(); |
public override int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public override string ToString(); |