The MimeMessage type exposes the following members.

Methods

  NameDescription
Public methodClone
Creates a copy of this message.
(Overrides MimeEntity..::..Clone()()()().)
Public methodDecrypt
Decrypts the contents of an enveloped entity. This method is only intended for entities with enveloped content.
(Inherited from MimeEntity.)
Public methodEncrypt
Encrypts the contents of an enveloped entity. This method is only intended for entities with enveloped content.
(Inherited from MimeEntity.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetContentStream()()()()
Returns the read-only stream representing a content of this entity.
(Inherited from MimeEntity.)
Public methodGetContentStream(Boolean)
Returns the stream representing a content of this entity.
(Inherited from MimeEntity.)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetRawContentStream
Returns the read-only stream representing a raw content of this entity. Only available for messages that were parsed with MimeOptions.KeepRawEntityBody flag. You probably need to use GetContentStream(Boolean) instead.
(Inherited from MimeEntity.)
Public methodGetSignatureEntity
Gets the signature entity if available. This can return this entity for signatures with inlined content.
(Inherited from MimeEntity.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad(Stream)
Loads the MIME entity from the specified stream.
(Inherited from MimeEntity.)
Public methodLoad(String)
Loads the MIME entity from the specified file.
(Inherited from MimeEntity.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnBrokenHeader
Raises the UnparsableHeader event.
(Inherited from MimeEntity.)
Public methodSave(Stream)
Saves the MIME entity to the specified stream.
(Inherited from MimeEntity.)
Public methodSave(String)
Saves the MIME entity to the specified file.
(Inherited from MimeEntity.)
Public methodSetContent(Stream)
Sets the content of this entity to data read from the specified stream.
(Inherited from MimeEntity.)
Public methodSetContent(String)
Sets the content of this entity to the specified text.
(Inherited from MimeEntity.)
Public methodSetContent(MimeEntity)
Sets the inner message of this entity to the specified message.
(Inherited from MimeEntity.)
Public methodSetContent(Stream, String)
Sets the content of this entity to data read from the specified stream and sets media type and file name.
(Inherited from MimeEntity.)
Public methodSetContent(String, String)
Sets the content of this entity to the specified text and media type.
(Inherited from MimeEntity.)
Public methodSetContent(Stream, String, String)
Sets the content of this entity to data read from the specified stream and sets media type and file name.
(Inherited from MimeEntity.)
Public methodSetContent(String, String, Encoding)
Sets the content of this entity to the specified text, media type and character set.
(Inherited from MimeEntity.)
Public methodSetContent(Stream, String, String, TransferEncoding)
Sets the content of this entity to data read from the specified stream and sets media type, file name and transfer encoding.
(Inherited from MimeEntity.)
Public methodSetContent(String, String, Encoding, TransferEncoding)
Sets the content of this entity to the specified text, media type and character set.
(Inherited from MimeEntity.)
Public methodSetContentFromFile(String)
Sets the content of this entity to data read from the specified file.
(Inherited from MimeEntity.)
Public methodSetContentFromFile(String, String)
Sets the content of this entity to data read from the specified file and sets file name.
(Inherited from MimeEntity.)
Public methodSetContentFromFile(String, String, String)
Sets the content of this entity to data read from the specified file and sets media type and file name.
(Inherited from MimeEntity.)
Public methodSetContentFromFile(String, String, String, TransferEncoding)
Sets the content of this entity to data read from the specified file and sets media type, file name and transfer encoding.
(Inherited from MimeEntity.)
Public methodSetEnvelopedContent(MimeEntity, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.)
Public methodSetEnvelopedContent(MimeEntity, String, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.)
Public methodSetEnvelopedContent(MimeEntity, SymmetricKeyAlgorithmId, EncryptionParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.)
Public methodSetEnvelopedContent(MimeEntity, String, EncryptionParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.)
Public methodSetEnvelopedContent(MimeEntity, String, Int32, array<Certificate>[]()[][]) Obsolete. (Inherited from MimeEntity.)
Public methodSetEnvelopedContent(MimeEntity, SymmetricKeyAlgorithmId, Nullable<(Of <<'(Int32>)>>), EncryptionParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
(Inherited from MimeEntity.)
Public methodSetSignedContent(MimeEntity, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed entity.
(Inherited from MimeEntity.)
Public methodSetSignedContent(MimeEntity, MimeSignatureStyle, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.)
Public methodSetSignedContent(MimeEntity, SignatureParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.)
Public methodSetSignedContent(MimeEntity, MimeSignatureStyle, SignatureHashAlgorithm, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.)
Public methodSetSignedContent(MimeEntity, MimeSignatureStyle, SignatureParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
(Inherited from MimeEntity.)
Public methodSign
Creates signatures for all signers that do not have one yet. This method is only intended for entities with signed content.
(Inherited from MimeEntity.)
Public methodToMessage
Coverts the MimeEntity into a MimeMessage.
(Inherited from MimeEntity.)
Public methodToStream
Returns a read-only stream that can be used to read the raw MIME message content. Copying all the content into another stream is identical to Save(Stream) method.
(Inherited from MimeEntity.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidateSignature()()()()
Validates all digital signatures on this CMS/PKCS #7 signed message and validates all the signers' certificates. This method is only intended for entities with signed content.
(Inherited from MimeEntity.)
Public methodValidateSignature(Boolean, ValidationOptions)
Validates all digital signatures on this CMS/PKCS #7 signed message. Optionally, no signers' certificates are not validated, and the specified validation options are taken into account. This method is only intended for entities with signed content.
(Inherited from MimeEntity.)
Public methodValidateSignature(Boolean, ValidationOptions, CertificateChainEngine)
Validates all digital signatures on this CMS/PKCS #7 signed message. Optionally, no signers' certificates are not validated, and the specified validation options are taken into account. This method is only intended for entities with signed content.
(Inherited from MimeEntity.)

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIDeserializationCallback..::..OnDeserialization (Inherited from MimeEntity.)

See Also