Gets or sets the password for an encrypted archive.
A string that is the password used to encrypt the archive.
If the Password is empty, the encryption is not performed when the archive is saved using the ZipArchive.Save method. When the Password is set to a non-empty value and the ZipItem.EncryptionType is null, the ZipItem.EncryptionType is automatically set to the EncryptionType.PkZip value.
To extract the content of the encrypted zip item, specify its Password value. If the password is incorrect, the WrongPasswordException fires when the ZipItem.Extract method (or the ZipArchive.Extract method) is called.