DotMSN

MSNObject Methods

The methods of the MSNObject class are listed below. For a complete list of MSNObject class members, see the MSNObject Members topic.

Public Instance Methods

CalculateChecksum Calculates the checksum for the entire MSN Object.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
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.
LoadFile Gets or sets the file location. When a file is set the file data is immediately read in memory to extract the filehash. It will retain in memory afterwards.
OpenStream Returns the stream to read from. In case of an in-memory stream that stream is returned. In case of a filelocation a stream to the file will be opened and returned. The stream is not guaranteed to positioned at the beginning of the stream.
ParseContextOverloaded. Parses a context send by the remote contact and set the corresponding class variables. Context input is assumed to be not base64 encoded.
ToString (inherited from Object)Returns a String that represents the current Object.
UpdateInCollection Updates the msn object in the global MSNObjectCatalog.

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.
GetEncodedString Returns the url-encoded xml string.
GetStreamHash Calculates the hash of datastream.
GetXmlString Returns the xml string.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

MSNObject Class | XihSolutions.DotMSN Namespace