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