Mime4.net Home | Community Edition | Order | Usage examples | Feedback
MimeBoundaryInputStream ClassMIME4NET Class Library Documentation
Stream that constrains itself to a single MIME body part. After the stream ends (i.e. read() returns -1) HasMoreParts can be used to determine if a final boundary has been seen or not. If ParentEOF is true an unexpected end of stream has been detected in the parent stream.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    System.IO Stream
      NI.Email.Mime.IO FilterStream
        NI.Email.Mime.IO ReadByteStream
          NI.Email.Mime MimeBoundaryInputStream

Namespace: NI.Email.Mime
Assembly: NI.Email.Mime (in NI.Email.Mime.dll) Version: 1.8.5168.22709
Syntax

public class MimeBoundaryInputStream : ReadByteStream

The MimeBoundaryInputStream type exposes the following members.

Constructors

  NameDescription
Public methodMimeBoundaryInputStream
Creates a new MimeBoundaryInputStream.
Top
Methods

  NameDescription
Public methodBeginRead
Begins an asynchronous read operation.
(Inherited from Stream.)
Public methodBeginWrite
Begins an asynchronous write operation.
(Inherited from Stream.)
Public methodClose (Inherited from FilterStream.)
Public methodConsume
Consumes all unread bytes of this stream. After a call to this method this stream will have reached EOF.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Protected methodCreateWaitHandleObsolete.
Allocates a WaitHandle object.
(Inherited from Stream.)
Public methodDispose 
Releases all resources used by the Stream.
(Inherited from Stream.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
(Inherited from Stream.)
Public methodEndRead
Waits for the pending asynchronous read to complete.
(Inherited from Stream.)
Public methodEndWrite
Ends an asynchronous write operation.
(Inherited from Stream.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush (Inherited from FilterStream.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodRead (Inherited from ReadByteStream.)
Public methodReadByte
Read one byte from stream
(Overrides FilterStream ReadByte .)
Public methodSeek (Inherited from FilterStream.)
Public methodSetLength (Inherited from FilterStream.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite (Inherited from FilterStream.)
Public methodWriteByte (Inherited from FilterStream.)
Top
Fields

  NameDescription
Protected fieldstream (Inherited from FilterStream.)
Top
Properties

  NameDescription
Public propertyCanRead (Inherited from FilterStream.)
Public propertyCanSeek (Inherited from FilterStream.)
Public propertyCanTimeout
Gets a value that determines whether the current stream can time out.
(Inherited from Stream.)
Public propertyCanWrite (Inherited from FilterStream.)
Public propertyHasMoreParts
Determines if the underlying stream has more parts (this stream has not seen an end boundary).
Public propertyLength (Inherited from ReadByteStream.)
Public propertyParentEOF
Determines if the parent stream has reached EOF
Public propertyPosition (Inherited from FilterStream.)
Public propertyReadTimeout
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out.
(Inherited from Stream.)
Protected propertyUnderlyingStream
Get underlying pushback stream
Public propertyWriteTimeout
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out.
(Inherited from Stream.)
Top
See Also