## WebHeaderCollection::IsRestricted method


Tests whether the specified HTTP header can be set for the request.

```cpp
static bool System::Net::WebHeaderCollection::IsRestricted(const String &headerName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| headerName | const String\& | The header name to test. |

### ReturnValue

true if the header is restricted; otherwise false.

## See Also

* Class [String](../../../system/string/)
* Class [WebHeaderCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
