IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

SetReceiveStream Method

Sets the stream to which the received file data from will be written.

Syntax

[VB.NET]
Public Sub SetReceiveStream(ByVal ReceiveStream As System.IO.Stream)
[C#]
public void SetReceiveStream(System.IO.Stream receiveStream);

Remarks

This method sets the stream to which the incoming file will be written. This can be set from within the StartTransfer event when a file is received.

The file 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 true (default). The downloaded content will be written starting at the current position in the stream.

If a download stream is set, the incoming file will not be written to LocalDirectory.

NOTE: This method has a corresponding asynchronous version (SetReceiveStreamAsync) for use in the Xamarin environment.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0