How to check existence of a newsgroup using NNTP

How can I check whether a newsgroup exists ?

Date Entered: 10/24/1997    Last Updated: 6/14/2004

Connect to the newsserver and assign a value to CurrentGroup property. If the group doesn't exist an error occurs, otherwise the FirstArticle, LastArticle, and ArticleCount properties are set to the reported values for the group.

You could call the ListGroups method, however on most news servers this will take a long time, since there are normally thousands of available groups.


We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.