EncryptionProvider.EncryptStream Method
Encrypts and returns a stream of data for a document.
Syntax
expression.EncryptStream(SessionHandle, StreamName, UnencryptedStream, EncryptedStream)
expression An expression that returns a EncryptionProvider object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| SessionHandle | Required | Long | The ID of the current session. |
| StreamName | Required | String | The name of the encrypted stream of document data. |
| UnencryptedStream | Required | IUnknown | The data stream before encryption. |
| EncryptedStream | Required | IUnknown | The data stream information after it has been encrypted. |
Remarks
This method is typically called by your COM add-in during a save operation.