1 write to _stream
mscorlib (1)
system\security\cryptography\cryptostream.cs (1)
56
_stream
= stream;
19 references to _stream
mscorlib (19)
system\security\cryptography\cryptostream.cs (19)
62
if (!(
_stream
.CanRead)) throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotReadable"),"stream");
66
if (!(
_stream
.CanWrite)) throw new ArgumentException(Environment.GetResourceString("Argument_StreamNotWritable"),"stream");
127
_stream
.Write(_OutputBuffer, 0, _OutputBufferIndex);
132
_stream
.Write(finalBytes, 0, finalBytes.Length);
135
CryptoStream innerCryptoStream =
_stream
as CryptoStream;
141
_stream
.Flush();
233
amountRead +=
_stream
.Read(tempInputBuffer, _InputBufferIndex, numWholeBlocksInBytes - _InputBufferIndex);
262
amountRead =
_stream
.Read(_InputBuffer, _InputBufferIndex, _InputBlockSize - _InputBufferIndex);
407
amountRead += await
_stream
.ReadAsync(tempInputBuffer, _InputBufferIndex, numWholeBlocksInBytes - _InputBufferIndex, cancellationToken).ConfigureAwait(false);
440
amountRead = await
_stream
.ReadAsync(_InputBuffer, _InputBufferIndex, _InputBlockSize - _InputBufferIndex, cancellationToken).ConfigureAwait(false);
527
_stream
.Write(_OutputBuffer, 0, _OutputBufferIndex);
536
_stream
.Write(_OutputBuffer, 0, numOutputBytes);
549
_stream
.Write(_tempOutputBuffer, 0, numOutputBytes);
555
_stream
.Write(_OutputBuffer, 0, numOutputBytes);
643
await
_stream
.WriteAsync(_OutputBuffer, 0, _OutputBufferIndex, cancellationToken).ConfigureAwait(false);
653
await
_stream
.WriteAsync(_OutputBuffer, 0, numOutputBytes, cancellationToken).ConfigureAwait(false);
669
await
_stream
.WriteAsync(_tempOutputBuffer, 0, numOutputBytes, cancellationToken).ConfigureAwait(false);
677
await
_stream
.WriteAsync(_OutputBuffer, 0, numOutputBytes, cancellationToken).ConfigureAwait(false);
708
_stream
.Close();