using System; namespace System.Net.NetworkInformation { /// Provides information about the status and data resulting from a or operation. // Token: 0x020001B2 RID: 434 public class PingReply { // Token: 0x06000E61 RID: 3681 RVA: 0x00028EFC File Offset: 0x000270FC internal PingReply(IPAddress address, byte[] buffer, PingOptions options, long roundtripTime, IPStatus status) { this.address = address; this.buffer = buffer; this.options = options; this.rtt = roundtripTime; this.status = status; } /// Gets the address of the host that sends the Internet Control Message Protocol (ICMP) echo reply. /// An containing the destination for the ICMP echo message. // Token: 0x170004A8 RID: 1192 // (get) Token: 0x06000E62 RID: 3682 RVA: 0x00028F2C File Offset: 0x0002712C public IPAddress Address { get { return this.address; } } /// Gets the buffer of data received in an Internet Control Message Protocol (ICMP) echo reply message. /// A array containing the data received in an ICMP echo reply message, or an empty array, if no reply was received. // Token: 0x170004A9 RID: 1193 // (get) Token: 0x06000E63 RID: 3683 RVA: 0x00028F34 File Offset: 0x00027134 public byte[] Buffer { get { return this.buffer; } } /// Gets the options used to transmit the reply to an Internet Control Message Protocol (ICMP) echo request. /// A object that contains the Time to Live (TTL) and the fragmentation directive used for transmitting the reply if is ; otherwise, null. // Token: 0x170004AA RID: 1194 // (get) Token: 0x06000E64 RID: 3684 RVA: 0x00028F3C File Offset: 0x0002713C public PingOptions Options { get { return this.options; } } /// Gets the number of milliseconds taken to send an Internet Control Message Protocol (ICMP) echo request and receive the corresponding ICMP echo reply message. /// An that specifies the round trip time, in milliseconds. // Token: 0x170004AB RID: 1195 // (get) Token: 0x06000E65 RID: 3685 RVA: 0x00028F44 File Offset: 0x00027144 public long RoundtripTime { get { return this.rtt; } } /// Gets the status of an attempt to send an Internet Control Message Protocol (ICMP) echo request and receive the corresponding ICMP echo reply message. /// An value indicating the result of the request. // Token: 0x170004AC RID: 1196 // (get) Token: 0x06000E66 RID: 3686 RVA: 0x00028F4C File Offset: 0x0002714C public IPStatus Status { get { return this.status; } } // Token: 0x04000CE6 RID: 3302 private IPAddress address; // Token: 0x04000CE7 RID: 3303 private byte[] buffer; // Token: 0x04000CE8 RID: 3304 private PingOptions options; // Token: 0x04000CE9 RID: 3305 private long rtt; // Token: 0x04000CEA RID: 3306 private IPStatus status; } }