AttachmentBaseGetEncodingFromContent Method

Defines Encoding from content.

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
protected static Encoding GetEncodingFromContent(
	string contentString,
	ContentType contentType
)

Parameters

contentString
Type: SystemString
The content string.
contentType
Type: Aspose.Email.MimeContentType
The content type.

Return Value

Type: Encoding
Defined encodingEncoding.
See Also