Cookie()

Cookie::Cookie() constructor

Constructs a new instance.

System::Net::Cookie::Cookie()

Cookie::Cookie(String, String) constructor

Constructs a new instance.

System::Net::Cookie::Cookie(String name, String value)

Arguments

ParameterTypeDescription
nameStringThe cookie’s name.
valueStringThe cookie’s value.

Cookie::Cookie(String, String, String) constructor

Constructs a new instance.

System::Net::Cookie::Cookie(String name, String value, String path)

Arguments

ParameterTypeDescription
nameStringThe cookie name.
valueStringThe cookie value.
pathStringThe ‘Path’ attribute’s value.

Cookie::Cookie(String, String, String, String) constructor

Constructs a new instance.

System::Net::Cookie::Cookie(String name, String value, String path, String domain)

Arguments

ParameterTypeDescription
nameStringThe cookie’s name.
valueStringThe cookie’s value.
pathStringThe ‘Path’ attribute’s value.
domainStringThe ‘Domain’ attribute’s value.

See Also