https://learn.microsoft.com/it-it/dotnet/api/system.io.compression.zipfile.createfromdirectory?view=netframework-4.8.1&viewFallbackFrom=net-10.0
ZipFile.CreateFromDirectory Method (System.IO.Compression) | Microsoft Learn
Creates a zip archive that contains the files and directories from the specified directory.
methodsystemiomicrosoftlearn