DotMSN

DisplayImage Members

DisplayImage overview

Public Instance Constructors

DisplayImage Overloaded. Initializes a new instance of the DisplayImage class.

Public Instance Properties

Context (inherited from MSNObject) The context as an url-encoded xml string.
ContextPlain (inherited from MSNObject) The context as an xml string, not url-encoded.
Creator (inherited from MSNObject) The local contact list owner
FileLocation (inherited from MSNObject) [Deprecated, use 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.
Image The user display image. Null if not set
Location (inherited from MSNObject) The location of the object. This is a location on the hard-drive. Use relative paths. This is only a text string; na data is read in after setting this field. Use FileLocation for that purpose.
OriginalContext (inherited from MSNObject) The original context string that was send by the remote contact
Sha (inherited from MSNObject) The SHA1 encrypted hash of the datastream.
Size (inherited from MSNObject) The total data size
Type (inherited from MSNObject) The type of MSN Object

Public Instance Methods

CalculateChecksum (inherited from MSNObject) 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 (inherited from MSNObject) 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 (inherited from MSNObject) 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.
ParseContext (inherited from MSNObject)Overloaded. Parses a context send by the remote contact and set the corresponding class variables. Context input is assumed to be not base64 encoded.
RetrieveImage Sets the Image object based on the MSNObject's datastream.
ToString (inherited from Object)Returns a String that represents the current Object.
UpdateInCollection (inherited from MSNObject) Updates the msn object in the global MSNObjectCatalog.
UpdateStream Saves the image to the inner stream which is send to remote contacts. Is also automatically called when setting the Image property.

Protected Instance Properties

DataStream (inherited from MSNObject) The datastream to write to, or to read from

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

See Also

DisplayImage Class | XihSolutions.DotMSN Namespace