Encrypts data from a source stream into a target stream.

Namespace:  Rebex.Security
Assembly:  Rebex.Security (in Rebex.Security.dll)

Syntax

Visual Basic
Public Sub Encrypt ( _
	sourceStream As Stream, _
	targetStream As Stream _
)
C#
public void Encrypt(
	Stream sourceStream,
	Stream targetStream
)

Parameters

sourceStream
Type: System.IO..::..Stream
Readable stream with input data.
targetStream
Type: System.IO..::..Stream
Writable stream that will receive the encrypted data.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also