1using System.IO.Compression;
5public static class ZipExtension
7 public static async Task ExtractAsync(
this ZipArchive archive,
string entry,
string to)
9 await
using var src = archive.GetEntry(entry)!.Open();
10 await
using var dst = File.OpenWrite(
Path.Combine(to,
Path.GetFileName(entry)));
11 await src.CopyToAsync(dst);
constexpr std::string Path