This event handler will run only in fully trusted form templates.Signature thisSignature = e.SignedDataBlock.Signatures.Create();// ...

// This event handler will run only in fully trusted form templates.Signature thisSignature = e.SignedDataBlock.Signatures.Create();// To add add other pieces of information to sign, modify the// signature template returned by// thisSignature.SignatureBlockXmlNode.// Write your code here.thisSignature.Sign();e.ReturnStatus = true;