Esempio n. 1
0
        private static void TestListActiveTimes(NntpClient client)
        {
            // list active.times with wildmat
            foreach (NntpGroupOrigin groupOrigin in client.ListActiveTimes("*.recovery").GroupOrigins)
            {
                Console.WriteLine($"{groupOrigin.Name} {groupOrigin.CreatedAt} {groupOrigin.CreatedBy}");
            }

            // list active.times
            foreach (NntpGroupOrigin groupOrigin in client.ListActiveTimes().GroupOrigins)
            {
                Console.WriteLine($"{groupOrigin.Name} {groupOrigin.CreatedAt} {groupOrigin.CreatedBy}");
            }
        }