7 references to Close
Microsoft.NET.Build.Containers.UnitTests (1)
RegistryTests.cs (1)
452client.GetStream().Close(timeout: 0);
System.Net.Requests (3)
System\Net\FtpDataStream.cs (2)
81_originalStream.Close(DefaultCloseTimeout); 83_originalStream.Close(0);
System\Net\NetworkStreamWrapper.cs (1)
175_networkStream.Close(timeout);
System.Net.Sockets (3)
System\Net\Sockets\NetworkStream.cs (3)
357/// If a <see cref="NetworkStream"/> was associated with a <see cref="TcpClient"/>, the <see cref="Close(int)"/> method 373/// If a <see cref="NetworkStream"/> was associated with a <see cref="TcpClient"/>, the <see cref="Close(int)"/> method 376public void Close(TimeSpan timeout) => Close(ToTimeoutMilliseconds(timeout));