NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpCookie Members

Public:

Constructor

HttpCookie Constructor Overloaded. Initializes a new instance of the HttpCookie class.

Properties

Domain Restricts domain cookie is to be used with.
Expires Expiration time for cookie (in minutes).
HasKeys Gets a value ndicating whether the cookie has sub-keys.
Item Shortcut for HttpCookie$Values[key]. Required for ASP compatibility.

In C#, this member is the indexer for the HttpCookie class.

Name Gets or sets the name of cookie.
Path Gets or sets the URL prefix to transmit with the current cookie.
Secure Indicates whether the cookie should be transmitted only over HTTPS.
Value Gets or sets an individual cookie value.
Values Gets individual key:value pairs within a cookie.

Methods

Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the Object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HttpCookie Class | System.Web Namespace