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

SetMessageStream Method

Sets the stream to be uploaded to the server as part of the message.

Syntax

[VB.NET]
Public Sub SetMessageStream(ByVal MessageStream As System.IO.Stream)
[C#]
public void SetMessageStream(System.IO.Stream messageStream);

Remarks

This method sets the stream to be uploaded to the server as part of the message. If an upload stream is set before the Send method is called, the content of the stream will be read by the component and uploaded to the server; 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 this method again before calling Send again. The content of the stream will be read from the current position all the way to the end.

Note: This method and LocalFile will reset the other.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0