ZipUnzip NetLogic

The Zip Unzip NetLogic enables you to create, extract, and password-protect ZIP archives.

Important: This NetLogic uses a third-party library. For more information, see NuGet Gallery | SharpZipLib.

CreateZipArchive method

Compress a file or a folder into a ZIP archive.

Takes the following properties:
Source
A full path to the file or folder to be compressed.
Target
A full path to the archive to generate.
Password
(Optional) The phrase that password-protects the generated archive.

UnzipArchive method

Decompresses a ZIP archive.

Takes the following properties:
Source
A full path to the ZIP archive to decompress.
Target
A folder path where the archive contents will be extracted.
Password
(Optional) The phrase that may be needed to extract the archive.