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

◆ ScopeId

long System.Net.IPAddress.ScopeId
getsetinherited

Definition at line 99 of file IPAddress.cs.

100 {
101 get
102 {
103 if (IsIPv4)
104 {
105 throw new SocketException(SocketError.OperationNotSupported);
106 }
107 return PrivateScopeId;
108 }
109 set
110 {
111 if (IsIPv4)
112 {
113 throw new SocketException(SocketError.OperationNotSupported);
114 }
115 if (value < 0 || value > uint.MaxValue)
116 {
117 throw new ArgumentOutOfRangeException("value");
118 }
119 PrivateScopeId = (uint)value;
120 }
121 }

Referenced by System.Net.Internals.SocketAddress.SocketAddress(), System.Net.SocketAddress.SocketAddress(), and System.Net.NetworkInformation.Ping.GetAddressSnapshot().