In The Hand
RemoteMachineName Property
NamespacesInTheHand.Net.SocketsIrDAClientRemoteMachineName
.NET Components for Mobility
Gets the name of the peer device participating in the communication.
Declaration Syntax
C#Visual Basic
public string RemoteMachineName { get; }
Public ReadOnly Property RemoteMachineName As String
Remarks
This finds the name of the device to which the client is connection, an exception will occur if the socket is not connected.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException If the remote device is not found in the discovery cache.
InvalidOperationException The socket is not connected.

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 3.0.0.0