Example #1
0
        protected internal override void Start()
        {
            _md5FileUrl = _downloader.GetFullUrl() + ".md5";
            var request = new HttpRequester(_md5FileUrl);

            request.SetFinishCallback(OnFinishRequest);
            request.Start();
        }
Example #2
0
        public void Start()
        {
            if (!Directory.Exists(_pullerMetaFolderPath))
            {
                Directory.CreateDirectory(_pullerMetaFolderPath);
            }

            _headerRequest = new HttpRequester(_url);
            _headerRequest.SetRequestMethod("HEAD");
            _headerRequest.SetFinishCallback(OnHeaderRequestFinish);
            _headerRequest.Start();
        }
Example #3
0
        protected internal override void Start()
        {
            if (DebugVersionResult != null)
            {
                Result = DebugVersionResult.Value;
                Finish();
                return;
            }

            var url = BuildUrl(_versionFileName);

            Url  = url;
            _req = new HttpRequester(Url);
            _req.SetFinishCallback(OnFninshedRequest);
            _req.Start();
        }