2 writes to _dataStream
System.Net.Requests (2)
System\Net\FtpControlStream.cs (2)
182
_dataStream
= new NetworkStream(_dataSocket, true);
231
_dataStream
= null;
5 references to _dataStream
System.Net.Requests (5)
System\Net\FtpControlStream.cs (5)
175
Debug.Assert(
_dataStream
!= null, "Data stream is null");
177
stream = new FtpDataStream(_sslStream,
_dataStream
!, (FtpWebRequest)_request!, IsFtpDataStreamWriteable());
189
SslStream sslStream = new SslStream(
_dataStream
, false, ServicePointManager.ServerCertificateValidationCallback);
215
stream = new FtpDataStream((Stream?)_sslStream ??
_dataStream
,
_dataStream
, (FtpWebRequest)_request!, IsFtpDataStreamWriteable());