Sets the credentials to use for the request.
- Namespace
- Statiq
.Core - Containing Type
- WebRequest
Syntax
public WebRequest WithCredentials(NetworkCredential credentials)
Parameters
Name | Type | Description |
---|---|---|
credentials | NetworkCredential | The credentials to use. |
Return Value
Type | Description |
---|---|
WebRequest | The current instance. |