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.
351
public 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.
396
public 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.
447
public 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.
480
PingOptions
? options = null) => Send(hostNameOrAddress, ToTimeoutMilliseconds(timeout), buffer ?? DefaultSendBuffer, options);
512
public void SendAsync(string hostNameOrAddress, int timeout, byte[] buffer,
PingOptions
? options, object? userToken)
517
public void SendAsync(IPAddress address, int timeout, byte[] buffer,
PingOptions
? options, object? userToken)
563
public 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>
583
public Task<PingReply> SendPingAsync(IPAddress address, TimeSpan timeout, byte[]? buffer = null,
PingOptions
? options = null, CancellationToken cancellationToken = default)
588
private Task<PingReply> SendPingAsync(IPAddress address, int timeout, byte[] buffer,
PingOptions
? options, CancellationToken cancellationToken)
603
public 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>
626
public Task<PingReply> SendPingAsync(string hostNameOrAddress, TimeSpan timeout, byte[]? buffer = null,
PingOptions
? options = null, CancellationToken cancellationToken = default)
631
private Task<PingReply> SendPingAsync(string hostNameOrAddress, int timeout, byte[] buffer,
PingOptions
? options, CancellationToken cancellationToken)
686
private PingReply GetAddressAndSend(string hostNameOrAddress, int timeout, byte[] buffer,
PingOptions
? options)
709
PingOptions
? options,
System\Net\NetworkInformation\Ping.PingUtility.cs (3)
18
private Process GetPingProcess(IPAddress address, byte[] buffer, int timeout,
PingOptions
? options)
51
private PingReply SendWithPingUtility(IPAddress address, byte[] buffer, int timeout,
PingOptions
? options)
74
private async Task<PingReply> SendWithPingUtilityAsync(IPAddress address, byte[] buffer, int timeout,
PingOptions
? options)
System\Net\NetworkInformation\Ping.RawSocket.cs (5)
24
private static unsafe SocketConfig GetSocketConfig(IPAddress address, byte[] buffer, int timeout,
PingOptions
? options)
250
private static unsafe PingReply SendIcmpEchoRequestOverRawSocket(IPAddress address, byte[] buffer, int timeout,
PingOptions
? options)
322
private async Task<PingReply> SendIcmpEchoRequestOverRawSocketAsync(IPAddress address, byte[] buffer, int timeout,
PingOptions
? options)
435
public SocketConfig(EndPoint endPoint, int timeout,
PingOptions
? options, bool isIPv4, ProtocolType protocolType, ushort id, byte[] sendBuffer)
448
public readonly
PingOptions
? Options;
System\Net\NetworkInformation\Ping.Unix.cs (2)
22
private PingReply SendPingCore(IPAddress address, byte[] buffer, int timeout,
PingOptions
? options)
30
private Task<PingReply> SendPingAsyncCore(IPAddress address, byte[] buffer, int timeout,
PingOptions
? options)
System\Net\NetworkInformation\PingReply.cs (2)
10
PingOptions
? options,
28
public
PingOptions
? Options { get; }