Table of Contents

Class FileDto

Namespace
MegaForm.Sdk
Assembly
MegaForm.Sdk.dll

An uploaded file attached to a submission (metadata only; no storage path leaks).

public sealed class FileDto
Inheritance
FileDto
Inherited Members

Properties

ContentType

MIME content type of the file.

public string? ContentType { get; set; }

Property Value

string

FieldKey

The form field this file was uploaded against.

public string? FieldKey { get; set; }

Property Value

string

FileId

Unique file id.

public int FileId { get; set; }

Property Value

int

FileName

Original (user-facing) file name.

public string? FileName { get; set; }

Property Value

string

SizeBytes

File size in bytes.

public long SizeBytes { get; set; }

Property Value

long

SubmissionId

Id of the submission this file belongs to.

public int SubmissionId { get; set; }

Property Value

int

UploadedOnUtc

UTC timestamp when the file was uploaded.

public DateTime UploadedOnUtc { get; set; }

Property Value

DateTime