ITnefPart Interface

An interface for a MIME part containing Microsoft TNEF data.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public interface ITnefPart : IMimePart, 
	IMimeEntity, IDisposable
Implements
IMimeEntity, IMimePart, IDisposable

Remarks

Represents an application/ms-tnef or application/vnd.ms-tnef part.

TNEF (Transport Neutral Encapsulation Format) attachments are most often sent by Microsoft Outlook clients.

Properties

Content Get or set the MIME content.
(Inherited from IMimePart)
ContentBase Get or set the base content URI.
(Inherited from IMimeEntity)
ContentDescription Get or set the description of the content if available.
(Inherited from IMimePart)
ContentDisposition Get or set the content disposition.
(Inherited from IMimeEntity)
ContentDuration Get or set the duration of the content if available.
(Inherited from IMimePart)
ContentId Get or set the Content-Id.
(Inherited from IMimeEntity)
ContentLocation Get or set the content location.
(Inherited from IMimeEntity)
ContentMd5 Get or set the md5sum of the content.
(Inherited from IMimePart)
ContentTransferEncoding Get or set the content transfer encoding.
(Inherited from IMimePart)
ContentType Get the type of the content.
(Inherited from IMimeEntity)
FileName Get or set the name of the file.
(Inherited from IMimePart)
Headers Get the list of headers.
(Inherited from IMimeEntity)
IsAttachment Get a value indicating whether this entity is an attachment.
(Inherited from IMimeEntity)

Methods

Accept Dispatches to the specific visit method for this MIME entity.
(Inherited from IMimeEntity)
ComputeContentMd5 Compute the MD5 checksum of the content.
(Inherited from IMimePart)
Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
GetBestEncoding(EncodingConstraint, CancellationToken) Calculate the most efficient content encoding given the specified constraint.
(Inherited from IMimePart)
GetBestEncoding(EncodingConstraint, Int32, CancellationToken) Calculate the most efficient content encoding given the specified constraint.
(Inherited from IMimePart)
LoadTnefMessage Load the TNEF message contained within the part.
LoadTnefMessageAsync Asynchronously load the TNEF message contained within the part.
Prepare Prepare the MIME entity for transport using the specified encoding constraints.
(Inherited from IMimeEntity)
VerifyContentMd5 Verify the Content-Md5 value against an independently computed md5sum.
(Inherited from IMimePart)
WriteTo(Stream, CancellationToken) Write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity)
WriteTo(String, CancellationToken) Write the IMimeEntity to the specified file.
(Inherited from IMimeEntity)
WriteTo(FormatOptions, Stream, CancellationToken) Write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity)
WriteTo(FormatOptions, String, CancellationToken) Write the IMimeEntity to the specified file.
(Inherited from IMimeEntity)
WriteTo(Stream, Boolean, CancellationToken) Write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity)
WriteTo(String, Boolean, CancellationToken) Write the IMimeEntity to the specified file.
(Inherited from IMimeEntity)
WriteTo(FormatOptions, Stream, Boolean, CancellationToken) Write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity)
WriteTo(FormatOptions, String, Boolean, CancellationToken) Write the IMimeEntity to the specified file.
(Inherited from IMimeEntity)
WriteToAsync(Stream, CancellationToken) Asynchronously write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity)
WriteToAsync(String, CancellationToken) Asynchronously write the IMimeEntity to the specified file.
(Inherited from IMimeEntity)
WriteToAsync(FormatOptions, Stream, CancellationToken) Asynchronously write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity)
WriteToAsync(FormatOptions, String, CancellationToken) Asynchronously write the IMimeEntity to the specified file.
(Inherited from IMimeEntity)
WriteToAsync(Stream, Boolean, CancellationToken) Asynchronously write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity)
WriteToAsync(String, Boolean, CancellationToken) Asynchronously write the IMimeEntity to the specified file.
(Inherited from IMimeEntity)
WriteToAsync(FormatOptions, Stream, Boolean, CancellationToken) Asynchronously write the IMimeEntity to the specified output stream.
(Inherited from IMimeEntity)
WriteToAsync(FormatOptions, String, Boolean, CancellationToken) Asynchronously write the IMimeEntity to the specified file.
(Inherited from IMimeEntity)

See Also