MimeAnonymizerAnonymize(FormatOptions, MimeEntity, Stream) Method

Anonymize a MimeEntity.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void Anonymize(
	FormatOptions options,
	MimeEntity entity,
	Stream stream
)

Parameters

options  FormatOptions
The formatting options.
entity  MimeEntity
The MIME entity to anonymize.
stream  Stream
The stream to write the anonymized entity to.

Remarks

Writes an anonymized version of the entity to a stream.

Exceptions

ArgumentNullException

options is .

-or-

entity is .

-or-

stream is .

See Also