## CookieContainer::InternalGetCookies method


Returns a collection of cookies that are associated with the specified URI.

```cpp
System::SharedPtr<CookieCollection> System::Net::CookieContainer::InternalGetCookies(System::SharedPtr<Uri> uri)
```


| Parameter | Type | Description |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | An URI for which cookies will be searched. |

### ReturnValue

A collection of cookies that are associated with the specified URI.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [CookieCollection](../../cookiecollection/)
* Class [Uri](../../../system/uri/)
* Class [CookieContainer](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
