3 writes to _port
System.Net.Mail (3)
System\Net\Mail\SmtpClient.cs (3)
79
_port
= port;
103
_port
= DefaultPort;
188
_port
= value;
8 references to _port
System.Net.Mail (8)
System\Net\Mail\SmtpClient.cs (8)
101
if (
_port
== 0)
175
return
_port
;
186
if (value !=
_port
)
267
return _servicePoint ??= ServicePointManager.FindServicePoint(new Uri($"mailto:{_host}:{
_port
}"));
703
if (
_port
<= 0 ||
_port
> MaxPortValue)
738
_transport.GetConnection(_host!,
_port
);
749
return _transport.GetConnectionAsync<TIOAdapter>(_host!,
_port
, cancellationToken);