IP*Works! 2016 .NET Edition
IP*Works! 2016 .NET Edition
Questions / Feedback?

SetDownloadStream Method

Sets the stream to which the downloaded data from the server 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 GetFile method is called, the downloaded data will be written to the stream. The stream should be open and normally set to position 0. The component will automatically close this stream if CloseStreamAfterTransfer is set to true (default). If the stream is closed, you will need to call SetDownloadStream again before calling GetFile again. The downloaded content will be written starting at the current position in the stream.

Note: SetDownloadStream and LocalFile will reset the other.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 .NET Edition - Version 16.0 [Build 7353]