DotMSN |

# P2PHandler.GetSessionFromRemote Method

Gets the p2p message session for which the remote identifier equals the identifier passed as a parameter. This is typically called when an incoming message is processed.

[Visual Basic]
Protected Function GetSessionFromRemote( _
ByVal remoteContact As String _
) As P2PMessageSession
[C#]
protected P2PMessageSession GetSessionFromRemote(
string remoteContact
);

#### Parameters

remoteContact
  The identifier used by the remote client

#### Return Value

#### See Also

P2PHandler Class | XihSolutions.DotMSN.DataTransfer Namespace