Click or drag to resize
MimeKit

MultipartRelatedOpen(Uri, String, String) Method

Open a stream for reading the decoded content of the MIME part specified by the provided URI.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
public Stream Open(
	Uri uri,
	out string mimeType,
	out string charset
)

Parameters

uri  Uri
The URI.
mimeType  String
The mime-type of the content.
charset  String
The charset of the content (if the content is text-based)

Return Value

Stream
A stream for reading the decoded content of the MIME part specified by the provided URI.

Implements

IMultipartRelatedOpen(Uri, String, String)
Exceptions
ExceptionCondition
ArgumentNullExceptionuri is .
FileNotFoundException The MIME part for the specified URI could not be found.
ObjectDisposedException The MultipartRelated has been disposed.
Remarks
Opens a stream for reading the decoded content of the MIME part specified by the provided URI.
See Also