DotMSN

P2PTransferSession.SendDisconnectMessage Method 

Sends the remote client a p2p message with the 0x40 flag to indicate we are going to close the connection.

[Visual Basic]
Overridable Protected Sub SendDisconnectMessage()
[C#]
protected virtual void SendDisconnectMessage();

See Also

P2PTransferSession Class | XihSolutions.DotMSN.DataTransfer Namespace