public static void Run()
{
try
{
// ExStart:VerifySignature
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_AsposePdfFacades_SecuritySignatures();
PdfFileSignature pdfSign = new PdfFileSignature();
pdfSign.BindPdf(dataDir + "DigitallySign.pdf");
if (pdfSign.VerifySigned("Signature1"))
{
Console.WriteLine("PDF Signed");
}
// ExEnd:VerifySignature
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
}
public static void VerifyPDFSigned()