Sobre o ComponentSpace ICMP (Ping) Component

Envie mensagens de eco ICMP e receba respostas de eco.

ComponentSpace ICMP (Ping) Component allows you to ping a server to see whether it’s operational. It supports the ICMP (RFC-792) control messages including echo and echo reply. Written in 100% managed C# code, the class library offers .NET developers a simple way to ping servers and perform other ICMP operations from within their applications. ComponentSpace ICMP (Ping) Component is 64-bit, .NET Framework 4 and Visual Studio 2010 compatible.

ComponentSpace ICMP (Ping) Component may be used in any Windows or Web application by adding a reference to the assembly to access the classes in the KeyTech.Icmp namespace.

The EchoClient class sends echo requests, using the supplied data, receives the echo reply and checks it against the request. You may perform echoes either synchronously (blocking) using the Echo method or asynchronously (non-blocking) using the BeginEcho and EndEcho methods. For asynchronous calls you may receive completion notification either through an event or a callback method. A timeout may be specified. ComponentSpace ICMP (Ping) Component is 64bit, .NET Framework 4 and VS2010 compatible.

The ICMP messages are encapsulated in a number of classes all derived from the IcmpMessage abstract base class. These message classes are:

  • DestinationUnreachableMessage,
  • EchoMessage,
  • EchoReplyMessage,
  • InformationReplyMessage,
  • InformationRequestMessage,
  • ParameterProblemMessage,
  • RedirectMessage,
  • SourceQuenchMessage,
  • TimeExceededMessage,
  • TimestampMessage,
  • TimestampReplyMessage.

The IcmpClient class sends and receives IcmpMessages. You may send requests either synchronously (blocking) using the Send method or asynchronously (non-blocking) using the BeginSend and EndSend methods. Similarly, responses may be received either synchronously (blocking) using the Receive method or asynchronously (non-blocking) using the BeginReceive and EndReceive methods. For asynchronous calls you may receive completion notification either through an event or a callback method. A timeout may be specified.

All classes that raise events support a SynchronizingObject property. All classes report errors through the IcmpException.

Main Features

  • Supports RFC-792
  • Construction and parsing of all the ICMP messages, including echo and echo reply
  • Easy to ping servers with echo control messages
  • Calling applications may make either synchronous or asynchronous calls
  • Asynchronous calls may either use events or callbacks
  • Specify a timeout
  • 100% managed code written in C#
  • Object oriented design specifically for the .NET framework
  • All error handling through .NET exceptions
  • Comprehensive Visual Studio .NET style documentation
  • VB.NET and C# example source code
  • Includes prompt free email support
  • Royalty free runtime
  • Source code available

This class library may also be purchased as part of the Key Technology .NET Internet Suite.