Progress Event

Fired whenever data is being transferred between the localhost and RemoteHost .


public event OnProgressHandler OnProgress;

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

public class RcpProgressEventArgs : EventArgs {
  public int PercentDone { get; }
Public Event OnProgress As OnProgressHandler

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

Public Class RcpProgressEventArgs Inherits EventArgs
  Public ReadOnly Property PercentDone As Integer
End Class


The 'PercentDone' parameter shows which portion of the file has already been transferred.

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