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)
97
if (!string.IsNullOrEmpty(
_host
))
99
_host =
_host
.Trim();
107
_targetName ??= DefaultTargetNamePrefix +
_host
;
151
return
_host
;
164
if (value !=
_host
)
170
if (_targetName == DefaultTargetNamePrefix +
_host
)
283
return _servicePoint ??= ServicePointManager.FindServicePoint(new Uri($"mailto:{
_host
}:{_port}"));
734
if (string.IsNullOrEmpty(
_host
))
773
_transport.GetConnection(
_host
!, _port);
784
return _transport.GetConnectionAsync<TIOAdapter>(
_host
!, _port, cancellationToken);