A Sandcastle Documented Class Library

# IEncryptionService Encrypt Method ( Byte , Stream)

Encrypts the specified data 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void Encrypt(
    	byte[] data,
    	Stream outputStream
    )

    Sub Encrypt (
    	data As Byte(),
    	outputStream As Stream
    )

    void Encrypt(
    	array<unsigned char>^ data,
    	Stream^ outputStream
    )

    abstract Encrypt :
            data : byte[] *
            outputStream : Stream -> unit

#### Parameters

data
  Type:
  System
  Byte
  The data.
outputStream
  Type: System.IO
  Stream
  The output stream.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | data or outputStream is .

See Also

#### Reference

IEncryptionService Interface
Encrypt Overload
Dundas.BI.Services Namespace