| ZipStoragePasswordCallback Property |
Gets or sets the callback method that provides the password for encrypted ZIP file entries.
Namespace: DigitalRune.StoragesAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax public Func<string, string> PasswordCallback { get; set; }
Public Property PasswordCallback As Func(Of String, String)
Get
Set
public:
property Func<String^, String^>^ PasswordCallback {
Func<String^, String^>^ get ();
void set (Func<String^, String^>^ value);
}
member PasswordCallback : Func<string, string> with 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