34 references to PingOptions
netstandard (1)
netstandard.cs (1)
1223[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.NetworkInformation.PingOptions))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
715[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.NetworkInformation.PingOptions))]
System.Net.Ping (32)
System\Net\NetworkInformation\Ping.cs (20)
338/// A <see cref="PingOptions"/> object used to control fragmentation and Time-to-Live values for the ICMP echo message packet. 351public PingReply Send(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions? options) 383/// A <see cref="PingOptions"/> object used to control fragmentation and Time-to-Live values for the ICMP echo message packet. 396public PingReply Send(IPAddress address, int timeout, byte[] buffer, PingOptions? options) 434/// A <see cref="PingOptions"/> object used to control fragmentation and Time-to-Live values for the ICMP echo message packet. 447public PingReply Send(IPAddress address, TimeSpan timeout, byte[]? buffer = null, PingOptions? options = null) => 466/// A <see cref="PingOptions"/> object used to control fragmentation and Time-to-Live values for the ICMP echo message packet. 480PingOptions? options = null) => Send(hostNameOrAddress, ToTimeoutMilliseconds(timeout), buffer ?? DefaultSendBuffer, options); 512public void SendAsync(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions? options, object? userToken) 517public void SendAsync(IPAddress address, int timeout, byte[] buffer, PingOptions? options, object? userToken) 563public Task<PingReply> SendPingAsync(IPAddress address, int timeout, byte[] buffer, PingOptions? options) 580/// <param name="options">A <see cref="PingOptions"/> object used to control fragmentation and Time-to-Live values for the ICMP echo message packet.</param> 583public Task<PingReply> SendPingAsync(IPAddress address, TimeSpan timeout, byte[]? buffer = null, PingOptions? options = null, CancellationToken cancellationToken = default) 588private Task<PingReply> SendPingAsync(IPAddress address, int timeout, byte[] buffer, PingOptions? options, CancellationToken cancellationToken) 603public Task<PingReply> SendPingAsync(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions? options) 623/// <param name="options">A <see cref="PingOptions"/> object used to control fragmentation and Time-to-Live values for the ICMP echo message packet.</param> 626public Task<PingReply> SendPingAsync(string hostNameOrAddress, TimeSpan timeout, byte[]? buffer = null, PingOptions? options = null, CancellationToken cancellationToken = default) 631private Task<PingReply> SendPingAsync(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions? options, CancellationToken cancellationToken) 686private PingReply GetAddressAndSend(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions? options) 709PingOptions? options,
System\Net\NetworkInformation\Ping.PingUtility.cs (3)
18private Process GetPingProcess(IPAddress address, byte[] buffer, int timeout, PingOptions? options) 51private PingReply SendWithPingUtility(IPAddress address, byte[] buffer, int timeout, PingOptions? options) 74private async Task<PingReply> SendWithPingUtilityAsync(IPAddress address, byte[] buffer, int timeout, PingOptions? options)
System\Net\NetworkInformation\Ping.RawSocket.cs (5)
24private static unsafe SocketConfig GetSocketConfig(IPAddress address, byte[] buffer, int timeout, PingOptions? options) 250private static unsafe PingReply SendIcmpEchoRequestOverRawSocket(IPAddress address, byte[] buffer, int timeout, PingOptions? options) 322private async Task<PingReply> SendIcmpEchoRequestOverRawSocketAsync(IPAddress address, byte[] buffer, int timeout, PingOptions? options) 435public SocketConfig(EndPoint endPoint, int timeout, PingOptions? options, bool isIPv4, ProtocolType protocolType, ushort id, byte[] sendBuffer) 448public readonly PingOptions? Options;
System\Net\NetworkInformation\Ping.Unix.cs (2)
22private PingReply SendPingCore(IPAddress address, byte[] buffer, int timeout, PingOptions? options) 30private Task<PingReply> SendPingAsyncCore(IPAddress address, byte[] buffer, int timeout, PingOptions? options)
System\Net\NetworkInformation\PingReply.cs (2)
10PingOptions? options, 28public PingOptions? Options { get; }