Gets or sets the encryption algorithm to be used by Add(String) and AddFile(String) methods.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Property EncryptionAlgorithm As EncryptionAlgorithm
	Get
	Set
C#
public EncryptionAlgorithm EncryptionAlgorithm { get; set; }

Field Value

Encryption algorithm.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionThe value specified an invalid value.
Rebex.IO.Compression..::..ZipExceptionNot supported encryption algorithm by the Rebex ZIP for .NET component.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also