DotMSN |

# P2PHandler.GetSessionFromLocal Method

Gets the p2p message session for which the local identifier equals the identifier passed as a parameter. This is typically called when a message is created.

[Visual Basic]
Protected Function GetSessionFromLocal( _
ByVal identifier As UInt32 _
) As P2PMessageSession
[C#]
protected P2PMessageSession GetSessionFromLocal(
uint identifier
);

#### Parameters

identifier
  The identifier used by the remote client

#### Return Value

#### See Also

P2PHandler Class | XihSolutions.DotMSN.DataTransfer Namespace