SecureBlackbox Lite 2020 .NET Edition

Questions / Feedback?

Progress Event

Reports the data transfer progress.

Syntax

public event OnProgressHandler OnProgress;

public delegate void OnProgressHandler(object sender, FtpclientProgressEventArgs e);

public class FtpclientProgressEventArgs : EventArgs {
  public long Total { get; }
  public long Current { get; }
  public bool Cancel { get; set; }
}
Public Event OnProgress As OnProgressHandler

Public Delegate Sub OnProgressHandler(sender As Object, e As FtpclientProgressEventArgs)

Public Class FtpclientProgressEventArgs Inherits EventArgs
  Public ReadOnly Property Total As Long
  Public ReadOnly Property Current As Long
  Public Property Cancel As Boolean
End Class

Remarks

This event fires periodically during a file transfer operation to report its progress.

Use the Cancel parameter to terminate the transfer if needed.

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