Click or drag to resize
DigitalRuneZipStoragePasswordCallback Property
Gets or sets the callback method that provides the password for encrypted ZIP file entries.

Namespace: DigitalRune.Storages
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public Func<string, string> PasswordCallback { get; set; }

Property Value

Type: FuncString, String
The callback method that provides the password for encrypted ZIP file entries.
Remarks
The callback is a function which takes one string argument and returns a string. The function argument is the path of the entry that should be retrieved from the ZIP archive. The function returns the password that was used to protect the entry in the ZIP archive. The method may return any value (including or ""), if the ZIP entry is not encrypted.
See Also