## HttpWebRequest::set_CookieContainer method


Sets a cookie container associated with the current web request.

```cpp
virtual void System::Net::HttpWebRequest::set_CookieContainer(System::SharedPtr<System::Net::CookieContainer> value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | System::SharedPtr\<System::Net::CookieContainer\> | The value that must be set. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [CookieContainer](../../cookiecontainer/)
* Class [HttpWebRequest](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
