WebApiClient T  AddCookie Method (String, String, String, String)The WebApiClient Documentation
Adds a cookie to the request to be sent to the WebApi

Namespace: WebApiRestService
Assembly: WebApiClient (in WebApiClient.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void AddCookie(
	string name,
	string value,
	string path,
	string domain
)

Parameters

name
Type: System String
Cookie name
value
Type: System String
Cookie value
path
Type: System String
Cookie path
domain
Type: System String
Cookie domain
Exceptions
ExceptionCondition
ArgumentNullException
See Also