TestimoX

API Reference

Class

BenchmarkSourceDownloader

Namespace TestimoX.Benchmarks.Sources
Assembly TestimoX
Modifiers sealed

Downloads allow-listed benchmark sources and verifies their exact integrity.

Inheritance

  • Object
  • BenchmarkSourceDownloader

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public BenchmarkSourceDownloader() #

Initializes a downloader with redirect validation owned by the benchmark source boundary.

Methods

public async Task<Byte[]> DownloadAsync(BenchmarkSourceDescriptor source, Boolean acceptSourceLicense, CancellationToken cancellationToken = null) #
Returns: Task<Byte[]>

Downloads a source after the caller explicitly confirms acceptance of the provider's license terms.

Parameters

source TestimoX.Benchmarks.Sources.BenchmarkSourceDescriptor requiredposition: 0
acceptSourceLicense System.Boolean requiredposition: 1
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
public static Void Verify(BenchmarkSourceDescriptor source, Byte[] content) #
Returns: Void

Verifies source size and SHA-256 before import.

Parameters

source TestimoX.Benchmarks.Sources.BenchmarkSourceDescriptor requiredposition: 0
content System.Byte[] requiredposition: 1