In The Hand - .NET Components for Mobility
RemoteEndPoint Property
NamespacesInTheHand.NetObexListenerRequestRemoteEndPoint
Gets the device address and service from which the request originated.
Declaration Syntax
C#Visual Basic
public EndPoint RemoteEndPoint { get; }
Public ReadOnly Property RemoteEndPoint As EndPoint
Remarks
The EndPoint instance returned will be of the subtype that matches the address family that the ObexListener is listening on. For instance if the listener was created with ObexTransport.Bluetooth then the EndPoint will be of type BluetoothEndPoint, and similarly for IrDAEndPoint and IPEndPoint.
Examples
C#
CopyC#
ObexListener lsnr = new ObexListener(ObexTransport.Bluetooth)
... ...
ObexListenerRequest olr = ...
BluetoothEndPoint remoteEp = (BluetoothEndPoint)olr.RemoteEndPoint;
BluetoothAddress remoteAddr = remoteEp.Address;
Visual Basic
Copy 
Dim lsnr As New ObexListener(ObexTransport.IrDA)
... ...
Dim olr As ObexListenerRequest = ...
Dim remoteEp As IrDAEndPoint = CType(olr.RemoteEndPoint, IrDAEndPoint);
Dim remoteAddr As IrDAAddress = remoteEp.Address;
See Also

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