IGISServerConnection connection = new GISServerConnectionClass();
connection.Connect("localhost");
IServerStatistics stats = (IServerStatistics)connection.ServerObjectAdmin;
IStatisticsResults statsResults = stats.GetAllStatisticsForTimeInterval(....);