EncryptStream Method
Encrypts a stream.
Syntax
public void EncryptStream(System.IO.Stream sourceStream, System.IO.Stream destStream);
Public Sub EncryptStream(ByVal SourceStream As System.IO.Stream, ByVal DestStream As System.IO.Stream)
Remarks
Use this method to encrypt a stream and save the protected message into another stream.
Specify the encryption key in Key property before commencing encryption.