DotMSN |

# P2PHandler.SessionCreated Event

Occurs when a P2P session is created.

[Visual Basic]
Public Event SessionCreated As SessionChangedEventHandler
[C#]
public event SessionChangedEventHandler SessionCreated;

#### Event Data

The event handler receives an argument of type P2PSessionAffectedEventArgs containing data related to this event. The following P2PSessionAffectedEventArgs property provides information specific to this event.

Property | Description
--- | ---
Session | The affected session

#### See Also

P2PHandler Class | XihSolutions.DotMSN.DataTransfer Namespace