This example shows how to verify Text signature in the document.
using(Signaturesignature=newSignature("sample.pdf")){TextVerifyOptionsoptions=newTextVerifyOptions(){AllPages=true,// this value is set by defaultSignatureImplementation=TextSignatureImplementation.Stamp,Text="John",MatchType=TextMatchType.Contains};// verify document signaturesVerificationResultresult=signature.Verify(options);if(result.IsValid){Console.WriteLine("\nDocument was verified successfully!");}else{Console.WriteLine("\nDocument failed verification process.");}}
Advanced Usage Topics
To learn more about document eSign features, please refer to theΒ advanced usage section.
More resources
GitHub Examples
You may easily run the code above and see the feature in action in ourΒ GitHub examples: