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

◆ Address

long System.Net.IPAddress.Address
getsetinherited

Definition at line 203 of file IPAddress.cs.

204 {
205 get
206 {
207 if (AddressFamily == AddressFamily.InterNetworkV6)
208 {
209 throw new SocketException(SocketError.OperationNotSupported);
210 }
211 return PrivateAddress;
212 }
213 set
214 {
215 if (AddressFamily == AddressFamily.InterNetworkV6)
216 {
217 throw new SocketException(SocketError.OperationNotSupported);
218 }
219 if (PrivateAddress != value)
220 {
221 if (this is ReadOnlyIPAddress)
222 {
223 throw new SocketException(SocketError.OperationNotSupported);
224 }
225 PrivateAddress = (uint)value;
226 }
227 }
228 }

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