Class CoreUploadFile
A file that finished uploading, as reported to the CoreUploader Blazor component.
Inherited Members
Namespace: CoreUpload.Components
Assembly: CoreUpload.dll
Syntax
public sealed class CoreUploadFile
Properties
ContentType
Reported content type, when the browser supplied one.
Declaration
public string ContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Deduped
true when the upload completed instantly because the server already stored this exact content (instant upload / dedupe).
Declaration
public bool Deduped { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
FileId
Server-assigned identifier (the upload GUID) for the stored file.
Declaration
public string FileId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FileName
Original file name as supplied by the browser.
Declaration
public string FileName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FileSize
Size in bytes.
Declaration
public long FileSize { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
RelativePath
Folder-relative path ('photos/2026/a.jpg') for folder uploads; empty for plain file selections. Sanitized server-side before storage.
Declaration
public string RelativePath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Status
Task status reported by the client engine.
Declaration
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| string |