Multipart SignedPrepare Method
Prepare the MIME entity for transport using the specified encoding constraints.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
IMimeEntityPrepare(EncodingConstraint, Int32)
IMimeEntityPrepare(EncodingConstraint, Int32)
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public override void Prepare(
EncodingConstraint constraint,
int maxLineLength = 78
)Parameters
- constraint EncodingConstraint
- The encoding constraint.
- maxLineLength Int32 (Optional)
- The maximum number of octets allowed per line (not counting the CRLF). Must be between 60 and 998 (inclusive).
Implements
IMimeEntityPrepare(EncodingConstraint, Int32)IMimeEntityPrepare(EncodingConstraint, Int32)
IMimeEntityPrepare(EncodingConstraint, Int32)
Remarks
Prepares the MIME entity for transport using the specified encoding constraints.
Exceptions
| ArgumentOutOfRangeException |
maxLineLength is not between 60 and 998 (inclusive). -or- constraint is not a valid value. |