Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Host

string? System.Net.Mail.SmtpClient.Host
getset

Definition at line 70 of file SmtpClient.cs.

71 {
72 get
73 {
74 return _host;
75 }
76 [param: DisallowNull]
77 set
78 {
79 if (InCall)
80 {
82 }
83 if (value == null)
84 {
85 throw new ArgumentNullException("value");
86 }
87 if (value.Length == 0)
88 {
90 }
91 value = value.Trim();
92 if (value != _host)
93 {
94 _host = value;
95 _servicePoint = null;
96 }
97 }
98 }
static string SmtpInvalidOperationDuringSend
Definition SR.cs:90
static string net_emptystringset
Definition SR.cs:20
Definition SR.cs:7

Referenced by System.Net.Mail.SmtpClient.SendAsync().