This content is part of a third party extension that is not supported by the Cake project.
Summary
Verifies the download against a pinned checksums file (
checksums and checksums_sha256).- Assembly
- Cake
.Download .Module .dll - Namespace
- Cake
.Download .Module - Containing Type
- DownloadToolSettings
Syntax
public DownloadToolSettings WithChecksums(string file, string sha256)
Parameters
| Name | Type | Description |
|---|---|---|
| file | string | The checksums file, relative to the download URL or absolute. |
| sha256 | string | The SHA-256 of the checksums file itself. |
Return Value
| Type | Description |
|---|---|
| DownloadToolSettings | This instance. |
