Return information about the next available newsgroup.
This method returns a boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.
The GetNextGroup method returns information about the next available newsgroup on the server. This method is used in conjunction with the GetFirstGroup method to enumerate all of the available newsgroups. Typically this is used to provide the user with a list of newsgroups to select. If the LastUpdate property is set, then only newsgroups that have been created since that date will be returned.
While the the newsgroups are being listed, the client cannot select a newsgroup or retrieve the contents of a specific article. The client should store those newsgroups which it wants to retrieve articles from, and then once all of the newsgroups have been listed, it can then select each newsgroup and retrieve the available articles from that group.
A program should use either the ListGroups method or the GetFirstGroup and GetNextGroup methods, but never in combination with one another.
NntpClient Class | SocketTools Namespace