I have a requirement where I have to download a zip file using c# (size can vary between 10mb – 400mb) from server based on input params. For example, download reports for userId = 10 and year = 2012.
The webserver accepts these two params and returns a zip file. How can I achieve this using WebClient class?
Thanks
I have a requirement where I have to download a zip file using c#
Share
You can do so by extending the WebClient class
Usage : in case u have to create POST type request
Usage : for GET type request, u can simply use the Normal webclient