Version

Sign Method

Signs the document.
Syntax
'Declaration
 
Public Sub Sign( _
   ByVal certificate As X509Certificate2, _
   ByVal reason As String, _
   ByVal location As String, _
   ByVal contactInfo As String _
) 
public void Sign( 
   X509Certificate2 certificate,
   string reason,
   string location,
   string contactInfo
)

Parameters

certificate
Signing certificate.
reason
The reason for the signing.
location
The CPU host name or physical location of the signing.
contactInfo
Information provided by the signer to enable a recipient to contact the signer to verify the signature.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also