|TnefParserGetAttachments Method (Byte, TnefExtractionOptions)|
public static AttachmentCollection GetAttachments( byte data, TnefExtractionOptions options )
Public Shared Function GetAttachments ( data As Byte(), options As TnefExtractionOptions ) As AttachmentCollection
In case if you got an e-mail with a TNEF attachment, it's easier to use GetAttachmentsFromTnef method to extract data from it.
This overload internally handles the situation when the source data ends with excessive CRLF at the end. You don't need to do anything to handle this situation.