3 writes to _port
System.Net.Mail (3)
System\Net\Mail\SmtpClient.cs (3)
81
_port
= port;
105
_port
= DefaultPort;
202
_port
= value;
8 references to _port
System.Net.Mail (8)
System\Net\Mail\SmtpClient.cs (8)
103
if (
_port
== 0)
189
return
_port
;
200
if (value !=
_port
)
284
return _servicePoint ??= ServicePointManager.FindServicePoint(new Uri($"mailto:{_host}:{
_port
}"));
771
if (
_port
<= 0 ||
_port
> MaxPortValue)
806
_transport.GetConnection(_host!,
_port
);
817
return _transport.GetConnectionAsync<TIOAdapter>(_host!,
_port
, cancellationToken);