IPWorks S/MIME 2020 .NET Edition

Questions / Feedback?

GroupList Event

Fired while group data transfers (during group listings).

Syntax

public event OnGroupListHandler OnGroupList;

public delegate void OnGroupListHandler(object sender, SnntpGroupListEventArgs e);

public class SnntpGroupListEventArgs : EventArgs {
  public string Group { get; }
  public long FirstArticle { get; }
  public long LastArticle { get; }
  public bool CanPost { get; }
}
Public Event OnGroupList As OnGroupListHandler

Public Delegate Sub OnGroupListHandler(sender As Object, e As SnntpGroupListEventArgs)

Public Class SnntpGroupListEventArgs Inherits EventArgs
  Public ReadOnly Property Group As String
  Public ReadOnly Property FirstArticle As Long
  Public ReadOnly Property LastArticle As Long
  Public ReadOnly Property CanPost As Boolean
End Class

Remarks

The GroupList event is fired for every group reported by the NewsServer when the ListGroups or ListNewGroups method is called.

The Group parameter shows the name of the group.

The FirstArticle and LastArticle parameters contain the article numbers for the first and last articles in the group.

The CanPost is True or False depending on whether article posting is allowed in the group specified by Group.

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