Click or drag to resize

CryptoStream Constructor

Initializes a new instance of the Crestron.SimplSharp.Cryptography.CryptoStream class with a target data stream, the transformation to use, and the mode of the stream.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public CryptoStream(
	Stream stream,
	ICryptoTransform transform,
	CryptoStreamMode mode
)

Parameters

stream  Stream
The stream on which to perform the cryptographic transformation.
transform  ICryptoTransform
The cryptographic transformation that is to be performed on the stream.
mode  CryptoStreamMode
One of the Crestron.SimplSharp.Cryptography.CryptoStreamMode values.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also