Smime Methods

The Smime type exposes the following members.

Methods
  NameDescription
Public methodCode exampleDecrypt(MailMessage)
Decrypts an e-mail message if it's encrypted.
Public methodCode exampleDecrypt(MailMessage, CertificateStore)
Decrypts an e-mail message if it's encrypted.
Public methodDecrypt2
Decrypts an e-mail message if it's encrypted.
Public methodCode exampleDecryptAndVerify(MailMessage, MessageVerificationFlags)
Decrypts an e-mail message if it's encrypted and verifies its signature if it's signed.
Public methodCode exampleDecryptAndVerify(MailMessage, MessageVerificationFlags, CertificateStore, CertificateStore)
Decrypts an e-mail message if it's encrypted and verifies its signature if it's signed.
Public methodDecryptAndVerify2
Decrypts an e-mail message if it's encrypted and verifies its signature if it's signed.
Public methodCode exampleEncrypt
Encrypts an e-mail message.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleResetToDefaults
Resets S/MIME settings to default values.
Public methodCode exampleSign
Signs an e-mail message with a digital signature.
Public methodCode exampleSignAndEncrypt
Signs and encrypts an e-mail message.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodCode exampleVerify
Verifies if the signature of the specified e-mail message is valid.
Public methodCode exampleVerify2
Verifies if the signature of the specified e-mail message is valid.
Top
See Also