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

◆ InternalDisposeCore()

void System.Net.NetworkInformation.Ping.InternalDisposeCore ( )
inlineprivate

Definition at line 422 of file Ping.cs.

423 {
424 if (_handlePingV4 != null)
425 {
426 _handlePingV4.Dispose();
427 _handlePingV4 = null;
428 }
429 if (_handlePingV6 != null)
430 {
431 _handlePingV6.Dispose();
432 _handlePingV6 = null;
433 }
435 if (_pingEvent != null)
436 {
438 _pingEvent = null;
439 }
440 if (_replyBuffer != null)
441 {
443 _replyBuffer = null;
444 }
445 }
SafeLocalAllocHandle _replyBuffer
Definition Ping.cs:37
global::Interop.IpHlpApi.SafeCloseIcmpHandle _handlePingV6
Definition Ping.cs:41
global::Interop.IpHlpApi.SafeCloseIcmpHandle _handlePingV4
Definition Ping.cs:39
ManualResetEvent _pingEvent
Definition Ping.cs:31
virtual void Dispose(bool explicitDisposing)

References System.Net.NetworkInformation.Ping._handlePingV4, System.Net.NetworkInformation.Ping._handlePingV6, System.Net.NetworkInformation.Ping._pingEvent, System.Net.NetworkInformation.Ping._replyBuffer, System.Runtime.InteropServices.SafeHandle.Dispose(), System.Threading.WaitHandle.Dispose(), and System.Net.NetworkInformation.Ping.UnregisterWaitHandle().

Referenced by System.Net.NetworkInformation.Ping.InternalDispose().