2 writes to Length
System (2)
net\System\Net\webclient.cs (2)
1106
Length
= DefaultDownloadBufferLength; // Read buffer length
1108
Length
= ContentLength; // Read buffer length
6 references to Length
System (6)
net\System\Net\webclient.cs (6)
1118
SgBuffers = new ScatterGatherBuffers(
Length
); // Write buffer
1121
InnerBuffer = new byte[(int)
Length
];
1131
ReadStream.BeginRead(InnerBuffer, Offset, (int)
Length
-Offset, new AsyncCallback(DownloadBitsReadCallback), this);
1136
return ReadStream.Read(InnerBuffer, Offset, (int)
Length
-Offset);
1155
ReadStream.BeginRead(InnerBuffer, Offset, (int)
Length
-Offset, new AsyncCallback(DownloadBitsReadCallback), this);
1157
bytesRetrieved = ReadStream.Read(InnerBuffer, Offset, (int)
Length
-Offset);