3 writes to _port
System.Net.Mail (3)
System\Net\Mail\SmtpClient.cs (3)
80
_port
= port;
104
_port
= DefaultPort;
201
_port
= value;
8 references to _port
System.Net.Mail (8)
System\Net\Mail\SmtpClient.cs (8)
102
if (
_port
== 0)
188
return
_port
;
199
if (value !=
_port
)
283
return _servicePoint ??= ServicePointManager.FindServicePoint(new Uri($"mailto:{_host}:{
_port
}"));
738
if (
_port
<= 0 ||
_port
> MaxPortValue)
773
_transport.GetConnection(_host!,
_port
);
784
return _transport.GetConnectionAsync<TIOAdapter>(_host!,
_port
, cancellationToken);