IrDAClientRemoteMachineName Property

Gets the name of the peer device participating in the communication.

Definition

Namespace: InTheHand.Net.Sockets
Assembly: InTheHand.Net.IrDA (in InTheHand.Net.IrDA.dll) Version: 4.0.2+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public string RemoteMachineName { get; }

Property Value

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

ArgumentOutOfRangeException If the remote device is not found in the discovery cache.
InvalidOperationException The socket is not connected.

See Also