Click or drag to resize

FileRevision Class

This is preliminary documentation and is subject to change.

Represents a revision of a file or image.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.FilesFileRevision

Namespace: WikiClientLibrary.Files
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
[JsonContractAttribute]
public sealed class FileRevision

The FileRevision type exposes the following members.

Constructors
 NameDescription
Public methodFileRevisionInitializes a new instance of the FileRevision class
Top
Properties
 NameDescription
Public propertyBitDepth 
Public propertyComment The comment associated with the upload of this revision.
Public propertyDescriptionUrl Url of the description page.
Public propertyExtMetadata Formatted metadata combined from multiple sources. Results are HTML formatted. (MW 1.17+)
Public propertyHeight 
Public propertyIsAnonymous Whether the file is anonymous. (MW ~1.33-)
Public propertyMime MIME type of the file.
Public propertyPage Gets the stub of page this revision applies to.
Public propertySha1 The file's SHA-1 hash.
Public propertySize Size of the file. In bytes.
Public propertyTimeStamp The time and date of the revision.
Public propertyUrl Url of the file.
Public propertyUserName Name of the user uploading this file revision.
Public propertyWidth 
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
For revision of a MediaWiki page, see Revision.
See Also