J
Jonathan Wood
I'm writing a desktop C# app that downloads files from the Web. However, I'd
like to limit the download to one MB or so.
Does anyone know of any examples to do this? I found simple examples using
either WebClient.DownloadString() or StreamReader.ReadToEnd() but they don't
support reading only part of the file, and I found other examples that
support reading part of the file but do not work with strings and involve
methods not supported by a stream coming over the Web.
Thanks.
Jonathan
like to limit the download to one MB or so.
Does anyone know of any examples to do this? I found simple examples using
either WebClient.DownloadString() or StreamReader.ReadToEnd() but they don't
support reading only part of the file, and I found other examples that
support reading part of the file but do not work with strings and involve
methods not supported by a stream coming over the Web.
Thanks.
Jonathan