BeginFile Event
Fired before a file is processed.
Syntax
public event OnBeginFileHandler OnBeginFile; public delegate void OnBeginFileHandler(object sender, GzipBeginFileEventArgs e); public class GzipBeginFileEventArgs : EventArgs { public int Index { get; } public bool Skip { get; set; } }
Public Event OnBeginFile As OnBeginFileHandler Public Delegate Sub OnBeginFileHandler(sender As Object, e As GzipBeginFileEventArgs) Public Class GzipBeginFileEventArgs Inherits EventArgs Public ReadOnly Property Index As Integer Public Property Skip As Boolean End Class
Remarks
BeginFile is fired before compression or decompression begins. Index will contain 0.
You may use the Skip parameter to tell the component to skip the file when appending or decompressing.