Click or drag to resize

File Class

Holds information about a an IUploadcare document.
Inheritance Hierarchy
SystemObject
  NetQuarry.Services.UploadcareFile

Namespace:  NetQuarry.Services.Uploadcare
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class File

The File type exposes the following members.

Constructors
  NameDescription
Public methodFile
Initializes a new instance of the File class
Top
Properties
  NameDescription
Public propertydefault_effects
The default image processing effects.
Public propertydocument_id
Value of the document_id stored with the IDocStorageService service.
Public propertydone
The number of bytes transferred (applicable to upload/download status checks).
Public propertyfile_id
The Uploadcare file ID.
Public propertyfilename
The file name.
Public propertyimage_info
Additional image-speicific information for files identified as is_image.
Public propertyis_image
Specifies whether or not the file is an image file. An image files will have additional information under image_info.
Public propertyis_ready
If a file is ready and not deleted, it is available on the CDN.
Public propertyis_stored
True if the file is stored in Uploadcare, else false.
Public propertyoriginal_filename
The original file name as uploaded.
Public propertyrevision
The revision number of the document mapper
Public propertysecure_url
The secure URL if the service is configured.
Public propertysize
File size in bytes.
Public propertytotal
The total number of bytes stored in Uploadcare, if applicable.
Public propertyurl
The URL to the file
Public propertyuuid
The file's UUID
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also