System.Net.NetworkInformation.Ping.CreateTimedOutPingReply C# (CSharp) Method

CreateTimedOutPingReply() private method

private CreateTimedOutPingReply ( ) : PingReply
return PingReply
        private PingReply CreateTimedOutPingReply()
        {
            // Documentation indicates that you should only pay attention to the IPStatus value when
            // its value is not "Success", but the rest of these values match that of the Windows implementation.
            return new PingReply(new IPAddress(0), null, IPStatus.TimedOut, 0, Array.Empty<byte>());
        }