Exemple #1
0
        private static void TestListActive(NntpClient client)
        {
            Console.WriteLine("Number of groups: " + client.ListActive().Groups.Count());

            //// list active
            //foreach (NntpGroup g in client.ListActive2().Groups)
            //{
            //    Console.WriteLine($"{g.Name} {g.LowWaterMark} {g.HighWaterMark} {g.ArticleCount}");
            //}

            //// list active with wildmat
            //foreach (NntpGroup g in client.ListActive("*.recovery").Groups)
            //{
            //    Console.WriteLine($"{g.Name} {g.LowWaterMark} {g.HighWaterMark} {g.ArticleCount}");
            //}
        }