比较有用。
//**************************************
//
// Name: Ping .NET Class!
// Description:Ping a machine from .NET.
// This code is CLR compliant.
// By: Carl Mercier
//
// Assumes:The code is a complete consol
// e application which can easilly modified
// to become Windows Form.
//
//This code is copyrighted and has // limited warranties.Please see http://
// www.Planet-Source-Code.com/xq/ASP/txtCod
// eId.335/lngWId.10/qx/vb/scripts/ShowCode
// .htm //for details. //**************************************
//
using System;
namespace myping
{
///
/// Summary description for Class1.
///