In The Hand LtdIn The Hand
Send Method (hostNameOrAddress)
NamespacesInTheHand.Net.NetworkInformationPingSend(String)
.NET Components for Mobility
Attempts to send an Internet Control Message Protocol (ICMP) echo message to the specified computer, and receive a corresponding ICMP echo reply message from that computer.
Declaration Syntax
C#Visual Basic
public PingReply Send(
	string hostNameOrAddress
)
Public Function Send ( _
	hostNameOrAddress As String _
) As PingReply
Parameters
hostNameOrAddress (String)
A String that identifies the computer that is the destination for the ICMP echo message. The value specified for this parameter can be a host name or a string representation of an IP address.
Return Value
A PingReply object that provides information about the ICMP echo reply message, if one was received, or provides the reason for the failure, if no message was received.
Exceptions
ExceptionCondition
ArgumentNullExceptionhostNameOrAddress is a null reference (Nothing in Visual Basic).

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 7.0.0.0