DocumentHandlerUpdatePassword Method (Stream, UpdatePasswordOptions)
Updates existing password for document of known format. Source document file format should be specified explicitly.

Namespace: GroupDocs.Merger.Handler
Assembly: GroupDocs.Merger (in GroupDocs.Merger.dll) Version: 19.5
Syntax
public DocumentResult UpdatePassword(
	Stream documentStream,
	UpdatePasswordOptions updatePasswordOptions
)

Parameters

documentStream
Type: System.IOStream
The document stream.
updatePasswordOptions
Type: GroupDocs.Merger.Domain.SecurityUpdatePasswordOptions
The options for specifying document file format and current/new passwords.

Return Value

Type: DocumentResult
Document with updated password.
See Also