InlineAttachmentExtractor.EnumerateMsoPackage
InlineAttachmentExtractor.EnumerateMsoPackage method
Enumerates the MSO package and returns a dictionary containing files data. The key is file identifier and value contains actual data.Files are usually referenced in message body using the identifiers provided.
public static IDictionary<string, byte[]> EnumerateMsoPackage(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | The stream to parse. |
Return Value
Dictionary with files data.
Exceptions
exception | condition |
---|---|
ArgumentNullException | If stream is null. |
InvalidDataException | If given stream has data in incorrect format. |
Remarks
While in evaluation mode only one file is extracted from given MSO stream.
See Also
- class InlineAttachmentExtractor
- namespace Aspose.Email.Mapi
- assembly Aspose.Email