EncryptionOptions
ArchiveSaveOptions.EncryptionOptions property
Gets of sets encryption settings for saving existing zip archive.
public EncryptionSettings EncryptionOptions { get; set; }
Remarks
Do not use this options for regular composition of encrypted archive.
Examples
using (var archive = new Archive("plain.zip"))
{
archive.Save("encrypted.zip", new ArchiveSaveOptions() { EncryptionOptions = new AesEcryptionSettings("p@s$", EncryptionMethod.AES256) });
}
See Also
- class EncryptionSettings
- class ArchiveSaveOptions
- namespace Aspose.Zip.Saving
- assembly Aspose.Zip