Last active
March 15, 2024 04:43
-
-
Save aspose-zip-gists/ad733277ad387d5e87e32b336b9d8efe to your computer and use it in GitHub Desktop.
UniversalCompressor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string directoryPath = @"C:\path\to\your\directory"; | |
ArchiveInfo.ArchiveFormat format = ArchiveInfo.ArchiveFormat.Zip; | |
ArchiveFactory.CompressDirectory(directoryPath, format); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment