Encryption Property

DotNetZip

Ionic Zip Library v1.9.1.6 Encryption Property
ReferenceIonic.ZipZipOutputStreamEncryption
The Encryption to use for entries added to the ZipOutputStream.
Declaration Syntax
C# Visual Basic Visual C++
public EncryptionAlgorithm Encryption { get; set; }
Public Property Encryption As EncryptionAlgorithm
	Get
	Set
public:
property EncryptionAlgorithm Encryption {
	EncryptionAlgorithm get ();
	void set (EncryptionAlgorithm value);
}
Remarks

The specified Encryption is applied to the entries subsequently written to the ZipOutputStream instance.

If you set this to something other than EncryptionAlgorithm.None, you will also need to set the Password to a non-null, non-empty value in order to actually get encryption on the entry.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)