Is System.Net.WebClient.DownloadFile () reading the downloaded file in chunks, or does it read the entire file into memory to flush it to disk at the end? Somebody knows? From my tests, it seems that the file is created with 0 bytes to the right, and then, after the download is complete, it will explode to full size. But for some reason itβs so hard to believe, because it would mean that 2 GB of RAM is busy when loading a 2 GB file ... it would be pointless.
source share