System::Security::Cryptography::CryptoStream::CryptoStream constructor

CryptoStream::CryptoStream constructor

Constructor.

System::Security::Cryptography::CryptoStream::CryptoStream(const SharedPtr<System::IO::Stream> &stream, const SharedPtr<ICryptoTransform> &transform, CryptoStreamMode mode)
ParameterTypeDescription
streamconst SharedPtr<System::IO::Stream>&Stream to wrap.
transformconst SharedPtr<ICryptoTransform>&Transformation function to process data with when sending/reading it to/from stream.
modeCryptoStreamModeStream direction.

See Also