SetDownloadStream Method
Sets the stream to which the downloaded file will be written.
Syntax
[VB.NET] Public Sub SetDownloadStream(ByVal DownloadStream As System.IO.Stream)
[C#] public void SetDownloadStream(System.IO.Stream downloadStream);
Remarks
If a download stream is set before the DownloadFile method is called, the downloaded file data will be written to the stream. The stream should be open and normally set to position 0.
NOTE: This method has a corresponding asynchronous version (SetDownloadStreamAsync) for use in the Xamarin environment.