IrDAClientGetRemoteMachineName Method
Gets the name of the peer device using the specified socket.
Namespace: InTheHand.Net.SocketsAssembly: InTheHand.Net.IrDA (in InTheHand.Net.IrDA.dll) Version: 4.0.2+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
public static string GetRemoteMachineName(
Socket irdaSocket
)
Public Shared Function GetRemoteMachineName (
irdaSocket As Socket
) As String
public:
static String^ GetRemoteMachineName(
Socket^ irdaSocket
)
static member GetRemoteMachineName :
irdaSocket : Socket -> string
- irdaSocket Socket
- A connected IrDA Socket.
StringThe name of the remote device.
This finds the name of the device to which the socket is connection,
an exception will occur if the socket is not connected.