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

◆ Host

string System.UriBuilder.Host
getset

Definition at line 90 of file UriBuilder.cs.

91 {
92 get
93 {
94 return _host;
95 }
96 [param: AllowNull]
97 set
98 {
99 if (!string.IsNullOrEmpty(value) && value.Contains(':') && value[0] != '[')
100 {
101 value = "[" + value + "]";
102 }
103 _host = value ?? string.Empty;
104 _changed = true;
105 }
106 }

Referenced by System.UriBuilder.UriBuilder(), and System.UriBuilder.ToString().