Skip to content

UploadedFile

Record in Oadm.Sdk.Plugins · Oadm.Sdk.dll

An uploaded file. UploadedFile.Sha256 is upper-case hex.

public sealed record UploadedFile(string Id, string Name, long Size, string Sha256)

Parameters

  • Id: The id to put into the payload.
  • Name: The file name as the user chose it.
  • Size: Size in bytes.
  • Sha256: SHA-256 of the content, upper case hex.
string Id { get; init; }

The id to put into the payload.

string Name { get; init; }

The file name as the user chose it.

string Sha256 { get; init; }

SHA-256 of the content, upper case hex.

long Size { get; init; }

Size in bytes.