Cookie MembersWebDriver

The Cookie type exposes the following members.
Constructors

  NameDescription
Public methodCookie(String, String)
Initializes a new instance of the Cookie class with a specific name and value.
Public methodCookie(String, String, String)
Initializes a new instance of the Cookie class with a specific name, value, and path.
Public methodCookie(String, String, String, Nullable DateTime )
Initializes a new instance of the Cookie class with a specific name, value, path and expiration date.
Public methodCookie(String, String, String, String, Nullable DateTime )
Initializes a new instance of the Cookie class with a specific name, value, domain, path and expiration date.
Back to Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Overrides OnlineObject Equals(Object).)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides OnlineObject GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodToString
Creates and returns a string representation of the cookie.
(Overrides OnlineObject ToString .)
Back to Top
Properties

  NameDescription
Public propertyDomain
Gets the domain of the cookie.
Public propertyExpiry
Gets the expiration date of the cookie.
Public propertyName
Gets the name of the cookie.
Public propertyPath
Gets the path of the cookie.
Public propertySecure
Gets a value indicating whether the cookie is secure.
Public propertyValue
Gets the value of the cookie.
Back to Top
See Also