10 references to Stream
System.Net.Mail (10)
System\Net\Mail\Attachment.cs (3)
89
_part.
Stream
?.Close();
125
_part.
Stream
?.Close();
191
return _part.
Stream
!;
System\Net\Mime\MimePart.cs (7)
189
context._bytesLeft =
Stream
!.EndRead(result);
227
IAsyncResult readResult =
Stream
!.BeginRead(context._buffer, 0, context._buffer.Length, _readCallback, context);
262
IAsyncResult readResult =
Stream
!.BeginRead(context._buffer, 0, context._buffer.Length, _readCallback, context);
325
if (
Stream
!= null)
340
while ((read =
Stream
.Read(buffer, 0, maxBufferSize)) > 0)
353
if (
Stream
!.CanSeek)
355
Stream
.Seek(0, SeekOrigin.Begin);