Ping.IDisposable.Dispose Method

Definition

Releases all resources used by instances of the Ping class.

C#
void IDisposable.Dispose();

Implements

Remarks

If you call any method on a Ping object that has been disposed, you receive an ObjectDisposedException.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5