Exemplo n.º 1
0
        static void Main(String[] args)
        {
            var h = new CHttp(4, DownloadChangedCallback, DownloadCompletedCallback);

            //h.Push(new SInObj("http://madplanet-patch.s3.ca-central-1.amazonaws.com", "/ServerInfo.txt"));
            h.Push(new SInObj("http://madplanet-patch.s3.ca-central-1.amazonaws.com", "/data/test2.msi"));

            while (true)
            {
                h.Proc();
                Thread.Sleep(1);
            }
        }
Exemplo n.º 2
0
 public void Proc()
 {
     _Http.Proc();
     _NetB.Proc();
 }