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)
98
if (!string.IsNullOrEmpty(
_host
))
100
_host =
_host
.Trim();
108
_targetName ??= DefaultTargetNamePrefix +
_host
;
152
return
_host
;
165
if (value !=
_host
)
171
if (_targetName == DefaultTargetNamePrefix +
_host
)
284
return _servicePoint ??= ServicePointManager.FindServicePoint(new Uri($"mailto:{
_host
}:{_port}"));
767
if (string.IsNullOrEmpty(
_host
))
806
_transport.GetConnection(
_host
!, _port);
817
return _transport.GetConnectionAsync<TIOAdapter>(
_host
!, _port, cancellationToken);