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
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | The value specified an invalid value. |
| Rebex.IO.Compression..::..ZipException | Not supported encryption algorithm by the Rebex ZIP for .NET component. |