The MimeEntity type exposes the following members.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkClone
Creates a copy of this entity.
Public methodSupported by the .NET Compact FrameworkDecrypt
Decrypts the contents of an enveloped entity. This method is only intended for entities with enveloped content.
Public methodSupported by the .NET Compact FrameworkEncrypt
Encrypts the contents of an enveloped entity. This method is only intended for entities with enveloped content.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
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 methodSupported by the .NET Compact FrameworkGetContentStream()()()()
Returns the read-only stream representing a content of this entity.
Public methodSupported by the .NET Compact FrameworkGetContentStream(Boolean)
Returns the stream representing a content of this entity.
Public methodSupported by the .NET Compact FrameworkGetHashCode
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 methodSupported by the .NET Compact FrameworkGetRawContentStream
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.
Public methodSupported by the .NET Compact FrameworkGetSignatureEntity
Gets the signature entity if available. This can return this entity for signatures with inlined content.
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkLoad(Stream)
Loads the MIME entity from the specified stream.
Public methodSupported by the .NET Compact FrameworkLoad(String)
Loads the MIME entity from the specified file.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkOnBrokenHeader
Raises the UnparsableHeader event.
Public methodSupported by the .NET Compact FrameworkSave(Stream)
Saves the MIME entity to the specified stream.
Public methodSupported by the .NET Compact FrameworkSave(String)
Saves the MIME entity to the specified file.
Public methodSupported by the .NET Compact FrameworkSetContent(Stream)
Sets the content of this entity to data read from the specified stream.
Public methodSupported by the .NET Compact FrameworkSetContent(String)
Sets the content of this entity to the specified text.
Public methodSupported by the .NET Compact FrameworkSetContent(MimeEntity)
Sets the inner message of this entity to the specified message.
Public methodSupported by the .NET Compact FrameworkSetContent(Stream, String)
Sets the content of this entity to data read from the specified stream and sets media type and file name.
Public methodSupported by the .NET Compact FrameworkSetContent(String, String)
Sets the content of this entity to the specified text and media type.
Public methodSupported by the .NET Compact FrameworkSetContent(Stream, String, String)
Sets the content of this entity to data read from the specified stream and sets media type and file name.
Public methodSupported by the .NET Compact FrameworkSetContent(String, String, Encoding)
Sets the content of this entity to the specified text, media type and character set.
Public methodSupported by the .NET Compact FrameworkSetContent(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.
Public methodSupported by the .NET Compact FrameworkSetContent(String, String, Encoding, TransferEncoding)
Sets the content of this entity to the specified text, media type and character set.
Public methodSupported by the .NET Compact FrameworkSetContentFromFile(String)
Sets the content of this entity to data read from the specified file.
Public methodSupported by the .NET Compact FrameworkSetContentFromFile(String, String)
Sets the content of this entity to data read from the specified file and sets file name.
Public methodSupported by the .NET Compact FrameworkSetContentFromFile(String, String, String)
Sets the content of this entity to data read from the specified file and sets media type and file name.
Public methodSupported by the .NET Compact FrameworkSetContentFromFile(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.
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, String, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, SymmetricKeyAlgorithmId, EncryptionParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, String, EncryptionParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, String, Int32, array<Certificate>[]()[][]) Obsolete.
Public methodSupported by the .NET Compact FrameworkSetEnvelopedContent(MimeEntity, SymmetricKeyAlgorithmId, Nullable<(Of <<'(Int32>)>>), EncryptionParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified enveloped entity.
Public methodSupported by the .NET Compact FrameworkSetSignedContent(MimeEntity, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed entity.
Public methodSupported by the .NET Compact FrameworkSetSignedContent(MimeEntity, MimeSignatureStyle, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
Public methodSupported by the .NET Compact FrameworkSetSignedContent(MimeEntity, SignatureParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
Public methodSupported by the .NET Compact FrameworkSetSignedContent(MimeEntity, MimeSignatureStyle, SignatureHashAlgorithm, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
Public methodSupported by the .NET Compact FrameworkSetSignedContent(MimeEntity, MimeSignatureStyle, SignatureParameters, array<Certificate>[]()[][])
Sets the content of this entity to the specified signed content.
Public methodSupported by the .NET Compact FrameworkSign
Creates signatures for all signers that do not have one yet. This method is only intended for entities with signed content.
Public methodSupported by the .NET Compact FrameworkToMessage
Coverts the MimeEntity into a MimeMessage.
Public methodSupported by the .NET Compact FrameworkToStream
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.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkValidateSignature()()()()
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.
Public methodSupported by the .NET Compact FrameworkValidateSignature(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.
Public methodSupported by the .NET Compact FrameworkValidateSignature(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.

See Also