AttachmentBase Constructor (Stream, String)

Initializes a new instance of the AttachmentBase class.

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
protected AttachmentBase(
	Stream contentStream,
	string mediaType
)

Parameters

contentStream
Type: System.IOStream
The content stream.
mediaType
Type: SystemString
Type of the media.
See Also