Xceed Real-Time Zip for .NET Documentation
DefaultEncryptionMethod Property


Xceed.Zip Assembly > Xceed.Zip Namespace > ZipArchive Class : DefaultEncryptionMethod Property
Gets or sets the default EncryptionMethod to use when copying files into this ZipArchive.
Syntax
'Declaration
 
Public Overridable Property DefaultEncryptionMethod As EncryptionMethod
'Usage
 
Dim instance As ZipArchive
Dim value As EncryptionMethod
 
instance.DefaultEncryptionMethod = value
 
value = instance.DefaultEncryptionMethod
public virtual EncryptionMethod DefaultEncryptionMethod {get; set;}
Remarks
The default value is EncryptionMethod.Compatible. This property only applies if DefaultEncryptionPassword is not empty. EncryptionMethod.WinZipAes is not supported by Xceed Zip for .NET Compact Framework.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ZipArchive Class
ZipArchive Members