Search Results for

Show / Hide Table of Contents

# Class UploadedFileInfo

Metadata describing one stored uploaded file.

##### Inheritance

object
UploadedFileInfo

##### Inherited Members

object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

###### Namespace: CoreUpload.Models

###### Assembly: CoreUpload.dll

##### Syntax

    public class UploadedFileInfo

### Properties

#### ContentType

Gets or sets the reported content type when available.

##### Declaration

    public string? ContentType { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### CreatedUtc

Gets or sets the UTC timestamp when the upload metadata was created.

##### Declaration

    public DateTime CreatedUtc { get; set; }

##### Property Value

Type | Description
--- | ---
DateTime |

#### FileName

Gets or sets the original file name.

##### Declaration

    public string FileName { get; set; }

##### Property Value

Type | Description
--- | ---
string |

#### FileSize

Gets or sets the file size in bytes.

##### Declaration

    public long FileSize { get; set; }

##### Property Value

Type | Description
--- | ---
long |

#### Guid

Gets or sets the GUID assigned to the uploaded file.

##### Declaration

    public Guid Guid { get; set; }

##### Property Value

Type | Description
--- | ---
Guid |

#### IsPersisted

Gets or sets a value indicating whether the upload has been marked as persisted. Persisted uploads are not removed by routine temp cleanup.

##### Declaration

    public bool IsPersisted { get; set; }

##### Property Value

Type | Description
--- | ---
bool |