From 411a4d22bc57f246c892b5c57c9c7e06ecf48c22 Mon Sep 17 00:00:00 2001 From: Srihariharan Date: Wed, 10 Jan 2024 10:49:48 +0530 Subject: [PATCH] 865806: Adding a timestamp to PDF document not working issue. --- File-Formats/PDF/Working-with-DigitalSignature.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/File-Formats/PDF/Working-with-DigitalSignature.md b/File-Formats/PDF/Working-with-DigitalSignature.md index d91b5d1f3..943f10fa3 100644 --- a/File-Formats/PDF/Working-with-DigitalSignature.md +++ b/File-Formats/PDF/Working-with-DigitalSignature.md @@ -1503,10 +1503,10 @@ signature.TimeStampServer = new TimeStampServer(new Uri("http://syncfusion.digis //Save the document into stream MemoryStream stream = new MemoryStream(); -loadedDocument.Save(stream); +document.Save(stream); stream.Position = 0; //Close the document -loadedDocument.Close(true); +document.Close(true); //Defining the ContentType for pdf file string contentType = "application/pdf"; //Define the file name