DotMSN |

# P2PTransferSession.SendMessage Method

Sends a message for this session to the message processor. If a direct connection is established the p2p message is directly send to the message processor. If there is no direct connection available, it will wrap the incoming p2p message in a MSGMessage with the correct parameters. It also sets the identifiers and acknowledge session, provided they're not already set.

[Visual Basic]
NotOverridable Public Sub SendMessage( _
ByVal message As NetworkMessage _
) _
Implements IMessageProcessor.SendMessage
[C#]
public void SendMessage(
NetworkMessage message
);

#### Parameters

message

#### Implements

IMessageProcessor.SendMessage

#### See Also

P2PTransferSession Class | XihSolutions.DotMSN.DataTransfer Namespace