Parses MIME entiry from the specified stream.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
protected internal void Parse( SmartStream stream, Encoding headerEncoding, MIME_h_ContentType defaultContentType )
Protected Friend Sub Parse ( stream As SmartStream, headerEncoding As Encoding, defaultContentType As MIME_h_ContentType )
protected public: void Parse( SmartStream^ stream, Encoding^ headerEncoding, MIME_h_ContentType^ defaultContentType )
member Parse : stream : SmartStream * headerEncoding : Encoding * defaultContentType : MIME_h_ContentType -> unit
Parameters
- stream (SmartStream)
- Source stream.
- headerEncoding (Encoding)
- Header reading encoding. If not sure UTF-8 is recommended.
- defaultContentType (MIME_h_ContentType)
- Default content type.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when stream,headerEncoding or defaultContentType is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119