DotMSN

P2PHandler.GetSession Method 

Gets a reference to a p2p message session with the specified remote contact. In case a session does not exist a new session will be created and returned.

[Visual Basic]
Overridable Public Function GetSession( _
   ByVal localContact As String, _
   ByVal remoteContact As String _
) As P2PMessageSession
[C#]
public virtual P2PMessageSession GetSession(
   string localContact,
   string remoteContact
);

Parameters

localContact
remoteContact

Return Value

See Also

P2PHandler Class | XihSolutions.DotMSN.DataTransfer Namespace