DownloadToolSettings.

WithChecksums(string, string) Method

Summary

Verifies the download against a pinned checksums file (checksums and checksums_sha256).

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.