Click or drag to resize
MimeKit

MultipartRelatedOpen(Uri) 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.7.1
Syntax
C#
public Stream Open(
	Uri uri
)

Parameters

uri  Uri
The URI.

Return Value

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

Implements

IMultipartRelatedOpen(Uri)
Exceptions
ExceptionCondition
ArgumentNullExceptionuri is null.
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