ObexListenerRequestRemoteEndPoint Property
Gets the device address and service from which the request originated.
Namespace: InTheHand.NetAssembly: InTheHand.Net.Obex (in InTheHand.Net.Obex.dll) Version: 4.0.5
public EndPoint RemoteEndPoint { get; }
Public ReadOnly Property RemoteEndPoint As EndPoint
Get
public:
property EndPoint^ RemoteEndPoint {
EndPoint^ get ();
}
member RemoteEndPoint : EndPoint with get
Property Value
EndPoint
C#
ObexListener lsnr = new ObexListener(ObexTransport.Bluetooth)
... ...
ObexListenerRequest olr = ...
BluetoothEndPoint remoteEp = (BluetoothEndPoint)olr.RemoteEndPoint;
BluetoothAddress remoteAddr = remoteEp.Address;
Visual Basic
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;