DotMSN |

# MSNSLPHandler.TransferInvitationReceived Event

Occurs when a remote client has send an invitation for a transfer session.

[Visual Basic]
Public Event TransferInvitationReceived As MSNSLPInvitationReceivedEventHandler
[C#]
public event MSNSLPInvitationReceivedEventHandler TransferInvitationReceived;

#### Event Data

The event handler receives an argument of type MSNSLPInvitationEventArgs containing data related to this event. The following MSNSLPInvitationEventArgs properties provide information specific to this event.

Property | Description
--- | ---
Accept | Defines if the transfer is accepted. This must be set by the client programmer in a event handler. By default this property is set to false, which means the invitation is rejected. If this property is set to true, the invitation is accepted.
Filename | Name of the file the remote contact wants to send. Only available in case of a filetransfer session.
FileSize | The total size of the file in bytes. Only available in case of a filetransfer session.
InvitationMessage | The affected transfer session
MSNObject | The corresponding msnobject defined in the invitation. Only available in case of an msn object transfer (image display, emoticons).
TransferProperties | The affected transfer session
TransferSession | The p2p transfer session that will transfer the session data

#### See Also

MSNSLPHandler Class | XihSolutions.DotMSN.DataTransfer Namespace