Xceed Real-Time Zip for .NET Documentation
DefaultEncryptionPassword Property


Xceed.Zip Assembly > Xceed.Zip Namespace > ZipArchive Class : DefaultEncryptionPassword Property
Gets or sets the default encryption password that will be used to encrypt the files that are added to the zip file.
Syntax
'Declaration
 
Public Overridable Property DefaultEncryptionPassword As String
'Usage
 
Dim instance As ZipArchive
Dim value As String
 
instance.DefaultEncryptionPassword = value
 
value = instance.DefaultEncryptionPassword
public virtual string DefaultEncryptionPassword {get; set;}

Property Value

A string containing the default encryption password that will be used to encrypt the files that are added to the zip file.
Remarks

The length of the password is not limited. However, to preserve compatibility with Xceed Zip Compression Library (an ActiveX component) and with many popular Zip compression utilities, it is recommended that you limit passwords to no greater than 80 characters.

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

Creating secure passwords

Strong passwords: How to create and use them
Create secure password or login