officefileapi-devexpress-dot-pdf-dot-pdfdocumentsigner-4095c4e3.md
Returns a list of objects that contain information about the signatures (certification level, signer name, etc.).
Namespace : DevExpress.Pdf
Assembly : DevExpress.Docs.v25.2.dll
NuGet Package : DevExpress.Document.Processor
public IList<PdfSignatureInfo> GetSignatureInfo()
Public Function GetSignatureInfo As IList(Of PdfSignatureInfo)
| Type | Description |
|---|---|
| IList<PdfSignatureInfo> |
A list of PdfSignatureInfo objects that contain information about each signature.
|
Call the GetSignatureInfo method to retrieve information about the signatures. The PdfSignatureInfo class properties allows you to check the signature’s certification level, signer name, location and contact information, etc.
The code sample below retrieves the certification level of each signature:
using (var signer = new PdfDocumentSigner(@"D://Docs//SignedDocument.pdf"))
{
var signatures = signer.GetSignatureInfo();
for (int i = 0; i < signatures.Count; i++)
Console.WriteLine(String.Format("{0} signature certification level: {1}",
i, signatures[i].CertificationLevel));
}
Using signer = New PdfDocumentSigner("D://Docs//SignedDocument.pdf")
Dim signatures = signer.GetSignatureInfo()
For i As Integer = 0 To signatures.Count - 1
Console.WriteLine(String.Format("{0} signature certification level: {1}",
i, signatures(i).CertificationLevel))
Next i
End Using
See Also