Open this page in the API Guide

IEncryptionService.Encrypt Method (Byte[], Stream)

Encrypts the specified data (using the application's symmetric encryption key) and writes the encrypted bytes to the output stream.

Namespace:  Dundas.BI.Services
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
void Encrypt(
	byte[] data,
	Stream outputStream
)

Parameters

data
Type:System.Byte[]
The data.
outputStream
Type: System.IO.Stream
The output stream.
Exceptions
ExceptionCondition
ArgumentNullExceptiondata or outputStream is null.
See Also