Discuss this help topic in SecureBlackbox Forum

TElZipWriter.OnPasswordNeeded

TElZipWriter     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This event is fired when the password for the archive is required.

Declaration

[C#/Java]
    event TSBZipPasswordNeededEvent OnPasswordNeeded;
    delegate void TSBZipPasswordNeededEvent(Object Sender, Object Param, ref string Password, ref bool Cancel);

[VB.NET]
    Event OnPasswordNeeded As TSBZipPasswordNeededEvent
    Delegate Sub TSBZipPasswordNeededEvent(ByVal Sender As Object, ByVal Param As Object, ByRef Password As String, ByRef Cancel As Boolean)

[Pascal]
    property OnPasswordNeeded : TSBZipPasswordNeededEvent;
    TSBZipPasswordNeededEvent = procedure(Sender: TObject; Param : pointer; var Password : string; var Cancel : boolean) of object;

[C++]
    not available

[PHP]
    not available

Parameters

  • Param - reference to the object which contains additional information about the archive entry.
  • Password - new password should be provided via this parameter.
  • Cancel - set this parameter to True not to use password encryption.

Description

    This event is fired by TElZipWriter when in order to set password for the archive when Password property is not set. The new password should be passed via Password parameter.

See also:     Password    

Discuss this help topic in SecureBlackbox Forum