The following tables list the members exposed by MimeEntity.

      Public Constructors

      NameDescription
      Public ConstructorsMimeEntity Constructor()Initializes a new instance of MimeEntity.
      Top

      Protected Constructors

      Top

      Public Properties

      NameDescription
      Public PropertiesCharsetGets the charset (Encoding) of the content of this entity.
      Public PropertiesContentDescriptionGets or sets the content description of this entity.
      Public PropertiesContentDispositionGets or sets the content disposition of this entity.
      Public PropertiesContentIdentifierGets or sets the content ID of this entity.
      Public PropertiesContentLocationGets or sets the content location of this entity.
      Public PropertiesContentMessageGets the inner message of a 'message/rfc822' entity.
      Public PropertiesContentStringGets the content string of this entity.
      Public PropertiesContentTransferEncodingGets or sets the content transfer encoding of this entity.
      Public PropertiesContentTypeGets or sets the content type of this entity.
      Public PropertiesDefaultCharsetGets or sets the default charset for MIME body and headers.
      Public PropertiesEpilogueGets or sets the epilogue of this multipart entity.
      Public PropertiesHeadersGets the list of headers of this entity.
      Public PropertiesIsMultipartDetermines whether the entity is a multipart entity.
      Public PropertiesKindGets the type of the entity.
      Public PropertiesNameGets or sets the suggested file name of this entity, if it is present.
      Public PropertiesOptionsGets or sets various options for MIME parser and writer.
      Public PropertiesParentGets or sets the parent of this entity.
      Public PropertiesPartsGets the list of child parts of this entity.
      Public PropertiesPreambleGets or sets the preamble of this multipart entity.
      Public PropertiesReadOnlyGets or sets a value indicating whether the entity is read-only.
      Public PropertiesSignatureStyleGets or sets the signature style of a signed entity container. This property is only intended for entities with signed content.
      Public PropertiesSilentGets or sets a value indicating whether Cryptographic Service Provider (CSP) operations are permitted to display any user interface.
      Public PropertiesTransferEncodingGets or sets the TransferEncoding of the content of this entity.
      Top

      Public Methods

      NameDescription
      Virtual Public MethodsCloneCreates a copy of this entity.
      Public MethodsDecryptDecrypts the contents of an enveloped entity. This method is only intended for entities with enveloped content.
      Public MethodsEncryptEncrypts the contents of an enveloped entity. This method is only intended for entities with enveloped content.
      Public MethodsGetContentStreamOverloaded. Returns the read-only stream representing a content of this entity.
      Public MethodsGetRawContentStreamReturns 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 instead.
      Public MethodsGetSignatureEntityGets the signature entity if available. This can return this entity for signatures with inlined content.
      Public MethodsLoadOverloaded. Loads the MIME entity from the specified file.
      Public MethodsSaveOverloaded. Saves the MIME entity to the specified file.
      Public MethodsSetContentOverloaded. Sets the content of this entity to the specified text.
      Public MethodsSetContentFromFileOverloaded. Sets the content of this entity to data read from the specified file.
      Public MethodsSetEnvelopedContentOverloaded. Sets the content of this entity to the specified enveloped entity.
      Public MethodsSetSignedContentOverloaded. Sets the content of this entity to the specified signed entity.
      Public MethodsSignCreates signatures for all signers that do not have one yet. This method is only intended for entities with signed content.
      Virtual Public MethodsToMessageCoverts the MimeEntity into a MimeMessage.
      Public MethodsToStreamReturns 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 method.
      Public MethodsValidateSignatureOverloaded. 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.
      Top

      Protected Methods

      NameDescription
      Virtual Protected MethodsOnBrokenHeaderRaises the UnparsableHeader event.
      Top

      Public Events

      NameDescription
      Public EventsUnparsableHeaderOccurs when an unparsable header is encountered while parsing a MIME message.
      Top

      See Also