DotMSN |

# P2PDataMessage Class

Represents a single P2PDataMessage which is used for the actual data transfer. No negotiation handling.

For a list of all members of this type, see P2PDataMessage Members.

System.Object
XihSolutions.DotMSN.Core.NetworkMessage
XihSolutions.DotMSN.DataTransfer.P2PMessage
XihSolutions.DotMSN.DataTransfer.P2PDataMessage
XihSolutions.DotMSN.DataTransfer.P2PDCMessage

[Visual Basic]
Public Class P2PDataMessage
Inherits P2PMessage
[C#]
public class P2PDataMessage : P2PMessage

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Remarks

A p2p data message can be identified by looking at the footer in the P2P Message. When this value is > 0 a data message is send. When this value is 0 a normal, and more complex, MSNSLPMessage is send. This class is created to provide a fast way of sending messages.

#### Requirements

Namespace: XihSolutions.DotMSN.DataTransfer

Assembly: XihSolutions.DotMSN (in XihSolutions.DotMSN.dll)

#### See Also

P2PDataMessage Members | XihSolutions.DotMSN.DataTransfer Namespace