SecureBlackbox 2020 .NET Edition

Questions / Feedback?

AfterExtractFile Event

Marks the completion of extraction of an archived file.

Syntax

public event OnAfterExtractFileHandler OnAfterExtractFile;

public delegate void OnAfterExtractFileHandler(object sender, ArchivereaderAfterExtractFileEventArgs e);

public class ArchivereaderAfterExtractFileEventArgs : EventArgs {
  public string Path { get; }
  public long FileSize { get; }
  public int DataSource { get; }
}
Public Event OnAfterExtractFile As OnAfterExtractFileHandler

Public Delegate Sub OnAfterExtractFileHandler(sender As Object, e As ArchivereaderAfterExtractFileEventArgs)

Public Class ArchivereaderAfterExtractFileEventArgs Inherits EventArgs
  Public ReadOnly Property Path As String
  Public ReadOnly Property FileSize As Long
  Public ReadOnly Property DataSource As Integer
End Class

Remarks

Subscribe to this event to get notified about the completion of extraction of an archived file.

The Path parameter specifies the internal path to the entry inside the archive. The FileSize indicates the size of the decompressed file, and the DataSource specifies the type of the destination media.

fdsFile (0)The data was saved to a file.
fdsStream (1)The data was saved into a stream assigned to FileStream property.
fdsBuffer (2)The file data is available in FileData buffer.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 .NET Edition - Version 20.0 [Build 8165]