예제 #1
0
        private static void Main()
        {
            LoadConfig();
            var apps      = GetAppsList();
            var diff      = GetDifference(apps);
            var container = new AppsContainer {
                apps = diff, hostname = Dns.GetHostName()
            };
            var data = container.GetBytes();

            Network.TcpSend(data, _config.ServerIP, _config.ServerPort);
            SaveToCache(container);
        }