Click or drag to resize
MimeKit

ContentDispositionToString(Boolean) Method

Serialize the ContentDisposition to a string, optionally encoding the parameters.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public string ToString(
	bool encode
)

Parameters

encode  Boolean
If set to true, the parameter values will be encoded.

Return Value

String
The serialized string.
Remarks
Creates a string-representation of the ContentDisposition, optionally encoding the parameters as they would be encoded for transport.
See Also