DotMSN

MSNSLPMessage Members

MSNSLPMessage overview

Public Instance Constructors

MSNSLPMessage Constructor Initializes a new instance of the MSNSLPMessage class.

Public Instance Properties

Body
Branch The current branch this message applies to.
CallId
ContentLength
ContentType
CSeq The sequence count of this message.
Encoding Defaults to UTF8
From
FromMail The contact that send the message.
InnerBody (inherited from NetworkMessage) The inner body contents. Null if not present.
InnerMessage (inherited from NetworkMessage) The inner message object. Null if not present.
MaxForwards
MessageValues Contains all name/value combinations of non-header fields in the message
ParentMessage (inherited from NetworkMessage) The inner message object. Null if not present.
StartLine
To
ToMail The contact that receives the message.
Version
Via

Public Instance Methods

AppendArray (inherited from NetworkMessage) Helper method. Appends one array to the other. The second parameter, appendingArray, can be null. In that case the original byte array is returned and no copy is made.
CreateFromMessage (inherited from NetworkMessage) Creates the networkmessage based on the inner contents of the parent message. It invokes the ParseBytes method to parse the inner body contents of the parent message.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetBytes Builds the entire message and returns it as a byte array. Ready to be used in a P2P Message. This function adds the 0x00 at the end of the message.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ParseBytes Parses an MSNSLP message and stores the values in the object's fields.
PrepareMessage (inherited from NetworkMessage) Prepares the messages before it is sended. Some messageobjects will set properties in their 'parent' messageobject in this method. This method is automatically called for the inner message object, if present.
ToDebugString (inherited from NetworkMessage) Textual presentation.
ToString Textual presentation.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnInnerMessageSet (inherited from NetworkMessage) Called when the innermessage property is set. This sets the ParentMessage property on the inner message object
OnParentMessageSet (inherited from NetworkMessage) Called when the parent message is set. This sets the InnerMessage property on the parent message object.

See Also

MSNSLPMessage Class | XihSolutions.DotMSN.DataTransfer Namespace