DocumentBase.Signatures Property

 

Gets a SignatureSet that represents the digital signatures for the document.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

public SignatureSet Signatures { get; }

Property Value

Type: Microsoft.Office.Core.SignatureSet

A SignatureSet that represents the digital signatures for the document.

To digitally sign Microsoft Office Word documents and verify other signatures in them, you need the Microsoft CryptoAPI and a unique digital signature certificate. The CryptoAPI is installed with Microsoft Internet Explorer 4.01 and higher. You can obtain a digital signature certificate from a certification authority.

The following code example displays the Signatures dialog box, with which you can add a digital signature to the document. To use this example, run it from the ThisDocument class in a document-level project.

private void DocumentSignatures()
{
    this.Signatures.Add();
}
Return to top
Show: