Gets or sets a value that indicates whether the client accepts cookies and propagates them on future requests.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The following example sets this property to indicate that all cookies from the server should be copied to future client requests.
HttpTransportBindingElement httpBindingElement = new HttpBindingElement(); httpBindingElement.AllowCookies = true;
Available since 4.5
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms