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

◆ IsIPv4MappedToIPv6

bool System.Net.IPAddress.IsIPv4MappedToIPv6
getinherited

Definition at line 183 of file IPAddress.cs.

184 {
185 get
186 {
187 if (IsIPv4)
188 {
189 return false;
190 }
191 for (int i = 0; i < 5; i++)
192 {
193 if (_numbers[i] != 0)
194 {
195 return false;
196 }
197 }
198 return _numbers[5] == ushort.MaxValue;
199 }
200 }
readonly ushort[] _numbers
Definition IPAddress.cs:49

Referenced by System.Net.Sockets.TcpClient.Connect(), and System.Net.FtpControlStream.FormatAddress().