Zero Install .NET API 2.20.0
ZeroInstall.Services.Fetchers.IFetcher Interface Reference

Downloads Implementations, extracts them and adds them to an IImplementationStore. More...

Inheritance diagram for ZeroInstall.Services.Fetchers.IFetcher:
ZeroInstall.Services.Fetchers.Fetcher

Public Member Functions

void Fetch (Implementation implementation)
 Downloads an Implementation to the IImplementationStore. More...
 

Detailed Description

Downloads Implementations, extracts them and adds them to an IImplementationStore.

Implementations of this interface are immutable and thread-safe.

Member Function Documentation

◆ Fetch()

void ZeroInstall.Services.Fetchers.IFetcher.Fetch ( Implementation  implementation)

Downloads an Implementation to the IImplementationStore.

Parameters
implementationThe implementation to download.
Exceptions
OperationCanceledExceptionA download or IO task was canceled from another thread.
WebExceptionA file could not be downloaded from the internet.
NotSupportedExceptionA file format, protocol, etc. is unknown or not supported.
IOExceptionA downloaded file could not be written to the disk or extracted.
UnauthorizedAccessExceptionWrite access to IImplementationStore is not permitted.
DigestMismatchExceptionAn Implementation's Archives don't match the associated ManifestDigest.

Implemented in ZeroInstall.Services.Fetchers.Fetcher.


The documentation for this interface was generated from the following file: