DocumentHandlerIsPasswordSet Method (Stream)
Checks whether document of unknown format is password protected. Source document file format will be detected on the fly.

Namespace: GroupDocs.Merger.Handler
Assembly: GroupDocs.Merger (in GroupDocs.Merger.dll) Version: 19.7
Syntax
public bool IsPasswordSet(
	Stream documentStream
)

Parameters

documentStream
Type: System.IOStream
The document stream.

Return Value

Type: Boolean
Returns a value indicating whether document is protected or not.
See Also