Digitally signing a docx with no need to open the document with C#
问题 I tried this the code below but I failed to sign a document without opening it. Is it possible to sign a document with a certificate without opening it. object TempFilePath = TemporaryFolder + FileTempName; object Visible = false; object readonlyfile = false; try { object missing = System.Reflection.Missing.Value; Microsoft.Office.Interop.Word.ApplicationClass wordapp = new Microsoft.Office.Interop.Word.ApplicationClass(); Microsoft.Office.Interop.Word.Document wordDocument = wordapp