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

◆ GetStatusFromCode()

static IPStatus System.Net.NetworkInformation.Ping.GetStatusFromCode ( int statusCode)
inlinestaticprivate

Definition at line 653 of file Ping.cs.

654 {
655 if (statusCode != 0 && statusCode < 11000)
656 {
657 throw new Win32Exception(statusCode);
658 }
659 return (IPStatus)statusCode;
660 }

Referenced by System.Net.NetworkInformation.Ping.CreatePingReplyFromIcmp6EchoReply(), System.Net.NetworkInformation.Ping.CreatePingReplyFromIcmpEchoReply(), and System.Net.NetworkInformation.Ping.DoSendPingCore().