Better: Huawei Flasher V2 Download

int chunkCount = (int)Math.Ceiling((double)totalSize / chunkSize); var tasks = new Task[chunkCount];