SetInputStream Method
Sets the stream from which the component will read data to encrypt or decrypt.
Syntax
[VB.NET] Public Sub SetInputStream(ByVal InputStream As System.IO.Stream)
[C#] public void SetInputStream(System.IO.Stream inputStream);
Remarks
This method sets the stream from which the component will read data to encrypt or decrypt.
Input and Output Properties
The component will determine the source and destination of the input and output based on which properties are set.
The order in which the input properties are checked is as follows:
- SetInputStream
- InputFile
- InputMessage
- SetOutputStream
- OutputFile
- OutputMessage: The output data is written to this property if no other destination is specified.