/// <summary> /// Проверка пользователей в сети /// </summary> public static void SaverCycle() { while (true) { JsonWorker.Save(Program.Messages); JsonWorker.Save(Program.RegDatas); Thread.Sleep(10000); } }
public static void Main(string[] args) { JsonWorker.Load(); CreateHostBuilder(args).Build().Run(); }