MhtmlAttachments.GetAttachmentInfo
MhtmlAttachments.GetAttachmentInfo method
Gets information about all attachments in an MHT file.
public static List<MhtmlAttachmentInfo> GetAttachmentInfo(Stream sourceStream)
| Parameter | Type | Description |
|---|---|---|
| sourceStream | Stream | The stream containing the MHT file. |
Return Value
A list of MhtmlAttachmentInfo objects containing information about each attachment.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when sourceStream is null. |
See Also
- class MhtmlAttachmentInfo
- class MhtmlAttachments
- namespace Aspose.Html.Rendering
- assembly Aspose.HTML