Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ZipArchive.Encrypt Method

Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9147)

Encrypt(String, String, String, EncryptionAlgorithm)

Encrypts an existing ZIP archive to the specified file.

Declaration
public static void Encrypt(string zipFileToEncrypt, string encryptedZipFile, string password, EncryptionAlgorithm algorithm)
Parameters
Type Name Description
String zipFileToEncrypt

Path to a ZIP archive file to be encrypted.

String encryptedZipFile

Path where to save encrypted ZIP archive file.

String password

Password to be used for encryption.

EncryptionAlgorithm algorithm

Encryption algorithm to be used for encryption.

In This Article
  • Encrypt(String, String, String, EncryptionAlgorithm)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies