C# Класс OpenQA.Selenium.Cookie

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Cookie ( string name, string value, string path, System.DateTime expiry ) : System

Initializes a new instance of the Cookie class with a specific name, value, path and expiration date.

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

Initializes a new instance of the Cookie class with a specific name, value, domain, path and expiration date.

Описание методов

Cookie() публичный Метод

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.
Результат System

Cookie() публичный Метод

Initializes a new instance of the Cookie class with a specific name, value, domain, 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 domain, string path, System.DateTime expiry ) : System
name string The name of the cookie.
value string The value of the cookie.
domain string The domain of the cookie.
path string The path of the cookie.
expiry System.DateTime The expiration date of the cookie.
Результат System