You need to put e.Result as a parameter when calling PicToIsoStore inside your client_DownloadStringCompleted method
void client_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e) { PicToIsoStore(e.Result); }
The WebClient class receives the response and stores it in the e.Result variable. If you look closely, the e.Result type is already Stream , so it is ready to be passed to your PicToIsoStore method
Gilang
source share