Summary
Sets the credentials to use for the request.
- Assembly
- Wyam
.Core .dll - Namespace
- Wyam
.Core .Modules .IO - Containing Type
- DownloadRequest
Syntax
public DownloadRequest WithCredentials(string userName, string password)
Parameters
Name | Type | Description |
---|---|---|
userName | string | The username to use. |
password | string | The password to use. |
Return Value
Type | Description |
---|---|
DownloadRequest | The current instance. |