ZipArchive.Password Property
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9119)
Password
Gets or sets a password. Null reference (Nothing in Visual Basic) means don't encrypt newly added files.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
String | Password. |
Remarks
If the password is set to a null reference (Nothing in Visual Basic) the PasswordRequired event is fired when extracting encrypted file.
Exceptions
Type | Condition |
---|---|
ZipException | Password cannot be encoded using the current charset. |