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