示例#1
0
        /// <summary>
        ///     Проверка пользователей в сети
        /// </summary>
        public static void SaverCycle()
        {
            while (true)
            {
                JsonWorker.Save(Program.Messages);
                JsonWorker.Save(Program.RegDatas);

                Thread.Sleep(10000);
            }
        }
示例#2
0
 public static void Main(string[] args)
 {
     JsonWorker.Load();
     CreateHostBuilder(args).Build().Run();
 }