6 references to Close
System.Net.Requests (3)
System\Net\FtpDataStream.cs (2)
78
_networkStream.
Close
(DefaultCloseTimeout);
80
_networkStream.
Close
(0);
System\Net\NetworkStreamWrapper.cs (1)
170
_networkStream.
Close
(timeout);
System.Net.Sockets (3)
System\Net\Sockets\NetworkStream.cs (3)
339
/// If a <see cref="NetworkStream"/> was associated with a <see cref="TcpClient"/>, the <see cref="
Close
(int)"/> method
355
/// If a <see cref="NetworkStream"/> was associated with a <see cref="TcpClient"/>, the <see cref="
Close
(int)"/> method
358
public void Close(TimeSpan timeout) =>
Close
(ToTimeoutMilliseconds(timeout));