EncryptionProvider.EncryptStream(Int32, String, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encrypts and returns a stream of data for a document.
public:
void EncryptStream(int SessionHandle, System::String ^ StreamName, System::Object ^ UnencryptedStream, System::Object ^ EncryptedStream);
public void EncryptStream (int SessionHandle, string StreamName, object UnencryptedStream, object EncryptedStream);
abstract member EncryptStream : int * string * obj * obj -> unit
Public Sub EncryptStream (SessionHandle As Integer, StreamName As String, UnencryptedStream As Object, EncryptedStream As Object)
Parameters
- SessionHandle
- Int32
The ID of the current session.
- StreamName
- String
The name of the encrypted stream of document data.
- UnencryptedStream
- Object
The data stream before encryption.
- EncryptedStream
- Object
The data stream information after it has been encrypted.
Remarks
This method is typically called by your COM add-in during a save operation.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for