OpenQA.Selenium.Cookie.Cookie C# (CSharp) Méthode

Cookie() public méthode

Initializes a new instance of the Cookie class with a specific name, value, path and expiration date.
If the name is or an empty string, /// or if it contains a semi-colon. If the value is .
public Cookie ( string name, string value, string path, System.DateTime expiry ) : System
name string The name of the cookie.
value string The value of the cookie.
path string The path of the cookie.
expiry System.DateTime The expiration date of the cookie.
Résultat System
        public Cookie(string name, string value, string path, DateTime? expiry)
            : this(name, value, null, path, expiry)
        {
        }

Same methods

Cookie::Cookie ( string name, string value, string domain, string path, System.DateTime expiry ) : System
Cookie