SetDownloadStream Method

Sets the stream to which downloaded data will be written.

Syntax

public void SetDownloadStream(System.IO.Stream downloadStream);
Public Sub SetDownloadStream(ByVal DownloadStream As System.IO.Stream)

Remarks

If a download stream is set before data is downloaded, the downloaded data will be written to the stream. The stream should be open and normally set to position 0.

Note: Passing a non-null value for DownloadStream will cause LocalFile to be cleared. Similarly, setting LocalFile to a non-empty value will discard any stream set using this method.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S3 2020 .NET Edition - Version 20.0 [Build 8164]