Table of Contents

Method Create

Namespace
Oscova.Agents.Utils
Assembly
Oscova.Agents.dll

Create(ZipArchive, string, long, Func<ZipArchiveEntry, string?>)

Builds a validated extraction plan for the supplied archive entries.

public static IReadOnlyList<ZipArchiveExtractionItem> Create(ZipArchive archive, string destinationRoot, long maxUncompressedSizeBytes, Func<ZipArchiveEntry, string?> relativePathSelector)

Parameters

archive ZipArchive
destinationRoot string
maxUncompressedSizeBytes long
relativePathSelector Func<ZipArchiveEntry, string?>

Returns

IReadOnlyList<ZipArchiveExtractionItem>