4 writes to _host
System.Net.Mail (4)
System\Net\Mail\SmtpClient.cs (4)
70_host = host; 80_host = host; 100_host = _host.Trim(); 176_host = value;
10 references to _host
System.Net.Mail (10)
System\Net\Mail\SmtpClient.cs (10)
98if (!string.IsNullOrEmpty(_host)) 100_host = _host.Trim(); 108_targetName ??= DefaultTargetNamePrefix + _host; 152return _host; 165if (value != _host) 171if (_targetName == DefaultTargetNamePrefix + _host) 284return _servicePoint ??= ServicePointManager.FindServicePoint(new Uri($"mailto:{_host}:{_port}")); 767if (string.IsNullOrEmpty(_host)) 806_transport.GetConnection(_host!, _port); 817return _transport.GetConnectionAsync<TIOAdapter>(_host!, _port, cancellationToken);