## CookieContainer::IsLocalDomain method


Checks if the specified domain is localhost.

```cpp
bool System::Net::CookieContainer::IsLocalDomain(String host)
```


| Parameter | Type | Description |
| --- | --- | --- |
| host | String | The domain to check. |

### ReturnValue

True when the specified domain is localhost, otherwise false.

## See Also

* Class [String](../../../system/string/)
* Class [CookieContainer](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
