LumiSoft Net Help
ParseFromStream Method (stream, headerEncoding)
NamespacesLumiSoft.Net.MIMEMIME_MessageParseFromStream(Stream, Encoding)
Parses MIME message from the specified stream.
Declaration Syntax
C#Visual BasicVisual C++F#
public static MIME_Message ParseFromStream(
	Stream stream,
	Encoding headerEncoding
)
Public Shared Function ParseFromStream ( 
	stream As Stream,
	headerEncoding As Encoding
) As MIME_Message
public:
static MIME_Message^ ParseFromStream(
	Stream^ stream, 
	Encoding^ headerEncoding
)
static member ParseFromStream : 
        stream : Stream * 
        headerEncoding : Encoding -> MIME_Message 
Parameters
stream (Stream)
Stream from where to parse MIME message. Parsing starts from current stream position.
headerEncoding (Encoding)
Header reading encoding. If not sure UTF-8 is recommended.
Return Value
MIME_Message
Returns parsed MIME message.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when stream or headerEncoding is null.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119