17 references to DefaultSendBuffer
System.Net.Ping (17)
System\Net\NetworkInformation\Ping.cs (16)
189
return Send(hostNameOrAddress, DefaultTimeout,
DefaultSendBuffer
);
214
return Send(hostNameOrAddress, timeout,
DefaultSendBuffer
);
234
return Send(address, DefaultTimeout,
DefaultSendBuffer
);
258
return Send(address, timeout,
DefaultSendBuffer
);
448
Send(address, ToTimeoutMilliseconds(timeout), buffer ??
DefaultSendBuffer
, options);
480
PingOptions? options = null) => Send(hostNameOrAddress, ToTimeoutMilliseconds(timeout), buffer ??
DefaultSendBuffer
, options);
484
SendAsync(hostNameOrAddress, DefaultTimeout,
DefaultSendBuffer
, userToken);
489
SendAsync(hostNameOrAddress, timeout,
DefaultSendBuffer
, userToken);
494
SendAsync(address, DefaultTimeout,
DefaultSendBuffer
, userToken);
499
SendAsync(address, timeout,
DefaultSendBuffer
, userToken);
535
return SendPingAsync(address, DefaultTimeout,
DefaultSendBuffer
, null);
540
return SendPingAsync(hostNameOrAddress, DefaultTimeout,
DefaultSendBuffer
, null);
545
return SendPingAsync(address, timeout,
DefaultSendBuffer
, null);
550
return SendPingAsync(hostNameOrAddress, timeout,
DefaultSendBuffer
, null);
585
return SendPingAsync(address, ToTimeoutMilliseconds(timeout), buffer ??
DefaultSendBuffer
, options, cancellationToken);
628
return SendPingAsync(hostNameOrAddress, ToTimeoutMilliseconds(timeout), buffer ??
DefaultSendBuffer
, options, cancellationToken);
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
30
if (buffer !=
DefaultSendBuffer
&& buffer != Array.Empty<byte>())