PdfDocument.GetEncryptionInfo Method (String)

Retrieves information about encryption scheme used in a PDF document.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public static PdfEncryptionInfo GetEncryptionInfo(
	string fileName
)
VB
Public Shared Function GetEncryptionInfo ( 
	fileName As String
) As PdfEncryptionInfo

Parameters

fileName
Type: System.String
The name of the PDF file.

Return Value

Type: PdfEncryptionInfo
For encrypted documents, returns an instance of a PdfEncryptionInfo descendant class with information about the encryption scheme used in the document. For not encrypted documents, returns null.

See Also