Members of this class provide data for TransferProgressChanged events.

Namespace: ININ.IceLib
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public class TransferProgressChangedEventArgs : ProgressChangedEventArgs
Visual Basic
Public Class TransferProgressChangedEventArgs _
	Inherits ProgressChangedEventArgs

Remarks

This object provides extended information for upload/download transfer events. It not only provides a percent completion (from ProgressChangedEventArgs), but also includes the bytes transferred and the total used to calculate the percentage.

Examples

CopyC#
// This assumes a pre-existing session and local file.
RemoteFileHelper remoteFileHelper = new RemoteFileHelper(session);
string remoteFileName = remoteFileHelper.NewRemoteFileName(ServerFileType.Other);
remoteFileHelper.UploadProgressChanged += UploadChanged;
remoteFileHelper.UploadFile(localFileName, remoteFileName);
...
private void UploadChanged(object sender, TransferProgressChangedEventArgs e)
{
}

Inheritance Hierarchy

System..::..Object
  System..::..EventArgs
    System.ComponentModel..::..ProgressChangedEventArgs
      ININ.IceLib..::..TransferProgressChangedEventArgs

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also