private void InitialBegin(string address) { IsBusy = true; _globalCancellationTokenSource = new CancellationTokenSource(); _requestInstance = new Request(address, Package.Options.RequestConfiguration); Package.Address = _requestInstance.Address; _chunkHub = new ChunkHub(Package.Options.MaxTryAgainOnFailover, Package.Options.Timeout); }
private void InitialDownloader(string address) { IsBusy = true; _globalCancellationTokenSource = new CancellationTokenSource(); _requestInstance = new Request(address, Package.Options.RequestConfiguration); Package.Address = _requestInstance.Address; _chunkHub = new ChunkHub(Package.Options); }