Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CheckArgs() [1/2]

void System.Net.NetworkInformation.Ping.CheckArgs ( int timeout,
byte[] buffer,
PingOptions options )
inlineprivate

Definition at line 71 of file Ping.cs.

72 {
74 if (buffer == null)
75 {
76 throw new ArgumentNullException("buffer");
77 }
78 if (buffer.Length > 65500)
79 {
81 }
82 if (timeout < 0)
83 {
84 throw new ArgumentOutOfRangeException("timeout");
85 }
86 }
static string net_invalidPingBufferSize
Definition SR.cs:16
Definition SR.cs:7

References System.buffer, System.Net.NetworkInformation.Ping.CheckDisposed(), System.SR.net_invalidPingBufferSize, and System.timeout.

Referenced by System.Net.NetworkInformation.Ping.CheckArgs(), System.Net.NetworkInformation.Ping.Send(), System.Net.NetworkInformation.Ping.Send(), System.Net.NetworkInformation.Ping.SendPingAsync(), and System.Net.NetworkInformation.Ping.SendPingAsync().