4 writes to _host
System.Net.Mail (4)
System\Net\Mail\SmtpClient.cs (4)
69_host = host; 79_host = host; 99_host = _host.Trim(); 175_host = value;
10 references to _host
System.Net.Mail (10)
System\Net\Mail\SmtpClient.cs (10)
97if (!string.IsNullOrEmpty(_host)) 99_host = _host.Trim(); 107_targetName ??= DefaultTargetNamePrefix + _host; 151return _host; 164if (value != _host) 170if (_targetName == DefaultTargetNamePrefix + _host) 283return _servicePoint ??= ServicePointManager.FindServicePoint(new Uri($"mailto:{_host}:{_port}")); 734if (string.IsNullOrEmpty(_host)) 773_transport.GetConnection(_host!, _port); 784return _transport.GetConnectionAsync<TIOAdapter>(_host!, _port, cancellationToken);