12 references to Stream
System (12)
net\System\Net\mail\Attachment.cs (5)
115if (part.Stream != null) { 116part.Stream.Close(); 149if (part.Stream != null) { 150part.Stream.Close(); 207return part.Stream;
net\System\Net\mail\MimePart.cs (7)
173context.bytesLeft = Stream.EndRead(result); 207IAsyncResult readResult = Stream.BeginRead(context.buffer, 0, context.buffer.Length, readCallback, context); 238IAsyncResult readResult = Stream.BeginRead(context.buffer, 0, context.buffer.Length,readCallback, context); 300if (Stream != null) { 314while ((read = Stream.Read(buffer, 0, maxBufferSize)) > 0) { 325if (Stream.CanSeek) { 326Stream.Seek(0,SeekOrigin.Begin);