'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.
It is also advisable to only use ASCII characters because there is no accepted standard on how to encode non-ASCII characters in passwords.
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