IPWorks S/MIME 2020 .NET Edition

Questions / Feedback?

EndTransfer Event

Fired when the article text completes transferring.


public event OnEndTransferHandler OnEndTransfer;

public delegate void OnEndTransferHandler(object sender, SnntpEndTransferEventArgs e);

public class SnntpEndTransferEventArgs : EventArgs {
  public int Direction { get; }
Public Event OnEndTransfer As OnEndTransferHandler

Public Delegate Sub OnEndTransferHandler(sender As Object, e As SnntpEndTransferEventArgs)

Public Class SnntpEndTransferEventArgs Inherits EventArgs
  Public ReadOnly Property Direction As Integer
End Class


The purpose of the EndTransfer event is twofold: during article retrieval it fires when the article body finishes transferring from the NewsServer to the local host, and during article posting it fires after the article body has been sent to the NewsServer.

If ArticleText is not empty, the EndTransfer event is fired when the ArticleText finishes transferring from the local host to the NewsServer. If ArticleText is empty, the event is not fired.

If a file is attached to the ArticleText via the AttachedFile property, then EndTransfer fires again when the file finishes transferring. Please go to the description of the AttachedFile property for more information.

The Direction parameter shows whether the client (0) or the server (1) is sending the data.

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