DotMSN |

# P2PMessageSession.CloseDirectConnection Method

Closes the direct connection with the remote client, if available. A closing p2p message will be send first. The session will fallback to the previous (SB) message processor.

[Visual Basic]
Public Sub CloseDirectConnection()
[C#]
public void CloseDirectConnection();

#### See Also

P2PMessageSession Class | XihSolutions.DotMSN.DataTransfer Namespace