Gets or sets a password. Null reference (Nothing in Visual Basic) means don't encrypt newly added files.
Namespace:
Rebex.IO.Compression
Assembly:
Rebex.Zip (in Rebex.Zip.dll)
Syntax
Visual Basic |
---|
Public Property Password As String Get Set |
C# |
---|
public string Password { get; set; } |
Field Value
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
Exception | Condition |
---|---|
Rebex.IO.Compression..::..ZipException | Password cannot be encoded using the current charset. |