Constructors: NewCryptoStream

NewCryptoStream

Creates a new CryptoStream object used to read or write transformed data to or from an underlying stream.



 Public Function NewCryptoStream(
	  ByVal Stream As Stream,
	  ByVal Transform As ICryptoTransform,
	  ByVal Mode As CryptoStreamMode ) As CryptoStream

Parameters

Stream
[ByVal] Stream. The underlying stream to read or write the transformed data.
Transform
[ByVal] ICryptoTransform. The object used to transfrom data to or from plain text.
Mode
[ByVal] CryptoStreamMode. Sets the CryptoStream to be either in read mode or write mode.

Return Values

CryptoStream -  A new CryptoStream object.

Remarks

See Also

Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewCryptographicException NewCspKeyContainerInfo CryptoStream