SignOptions.Comments

SignOptions Comments property. Specifies comments on the digital signature. Default value is empty string.

SignOptions.Comments property

Specifies comments on the digital signature. Default value is empty string.

public string Comments { get; set; }

Examples

Demonstrates how to sign document.

CertificateHolder certHolder = CertificateHolder.Create(MyDir + "morzal.pfx", "aw");

SignOptions signOptions = new SignOptions();
signOptions.Comments = "Test Signing";
signOptions.SignTime = DateTime.Now;

Signer.Sign(MyDir + "Simple.docx", ArtifactsDir + "Signed.docx", certHolder, signOptions);

See Also