The SmtpInputStream type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SmtpInputStream |
Creates a new SmtpInputStream object.
|
Methods
Name | Description | |
---|---|---|
![]() |
BeginRead |
Begins an asynchronous read from the NetworkStream.
(Inherited from NetworkStream.) |
![]() |
BeginWrite |
Begins an asynchronous write to a stream.
(Inherited from NetworkStream.) |
![]() |
Close()()()() |
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
(Inherited from Stream.) |
![]() |
Close(Int32) |
Closes the NetworkStream after waiting the specified time to allow data to be sent.
(Inherited from NetworkStream.) |
![]() |
CreateObjRef |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) |
![]() |
CreateWaitHandle | Obsolete.
Allocates a WaitHandle object.
(Inherited from Stream.) |
![]() |
Dispose()()()() |
Releases all resources used by the Stream.
(Inherited from Stream.) |
![]() |
Dispose(Boolean) |
Releases the unmanaged resources used by the NetworkStream and optionally releases the managed resources.
(Inherited from NetworkStream.) |
![]() |
EndRead |
Handles the end of an asynchronous read.
(Inherited from NetworkStream.) |
![]() |
EndWrite |
Handles the end of an asynchronous write.
(Inherited from NetworkStream.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize |
Releases all resources used by the NetworkStream.
(Inherited from NetworkStream.) |
![]() |
Flush |
Flushes data from the stream. This method is reserved for future use.
(Inherited from NetworkStream.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetLifetimeService |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
InitializeLifetimeService |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) |
![]() |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
MemberwiseClone(Boolean) |
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.) |
![]() |
Read |
Reads data from the NetworkStream.
(Inherited from NetworkStream.) |
![]() |
ReadByte |
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
(Inherited from Stream.) |
![]() |
ReadLine |
Read data from SmtpInputStream.
|
![]() |
Seek |
Sets the current position of the stream to the given value. This method is not currently supported and always throws a NotSupportedException.
(Inherited from NetworkStream.) |
![]() |
SetLength |
Sets the length of the stream. This method always throws a NotSupportedException.
(Inherited from NetworkStream.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
Write |
Writes data to the NetworkStream.
(Inherited from NetworkStream.) |
![]() |
WriteByte |
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
(Inherited from Stream.) |
Properties
Name | Description | |
---|---|---|
![]() |
CanRead |
Gets a value that indicates whether the NetworkStream supports reading.
(Inherited from NetworkStream.) |
![]() |
CanSeek |
Gets a value that indicates whether the stream supports seeking. This property is not currently supported.This property always returns false.
(Inherited from NetworkStream.) |
![]() |
CanTimeout |
Indicates whether timeout properties are usable for NetworkStream.
(Inherited from NetworkStream.) |
![]() |
CanWrite |
Gets a value that indicates whether the NetworkStream supports writing.
(Inherited from NetworkStream.) |
![]() |
DataAvailable |
Gets a value that indicates whether data is available on the NetworkStream to be read.
(Inherited from NetworkStream.) |
![]() |
Length |
Gets the length of the data available on the stream. This property is not currently supported and always throws a NotSupportedException.
(Inherited from NetworkStream.) |
![]() |
Position |
Gets or sets the current position in the stream. This property is not currently supported and always throws a NotSupportedException.
(Inherited from NetworkStream.) |
![]() |
Readable |
Gets or sets a value that indicates whether the NetworkStream can be read.
(Inherited from NetworkStream.) |
![]() |
ReadTimeout |
Gets or sets the amount of time that a read operation blocks waiting for data.
(Inherited from NetworkStream.) |
![]() |
Socket |
Gets the underlying Socket.
(Inherited from NetworkStream.) |
![]() |
Writeable |
Gets a value that indicates whether the NetworkStream is writable.
(Inherited from NetworkStream.) |
![]() |
WriteTimeout |
Gets or sets the amount of time that a write operation blocks waiting for data.
(Inherited from NetworkStream.) |