Skip to content

CommunityFile

Namespace Nfty.Core.Publish.Community in assembly Nfty.Core.

public sealed record CommunityFile

A file the entry points at.

Constructors

CommunityFile(string, long, string)

public CommunityFile(string Url, long Size, string Sha256);

Parameters

  • Url (string) - Where it is downloaded from.
  • Size (long) - Its size in bytes.
  • Sha256 (string) - Its SHA-256, lowercase hex.

Properties

Sha256

public string Sha256 { get; init; }

Its SHA-256, lowercase hex.

Size

public long Size { get; init; }

Its size in bytes.

Url

public string Url { get; init; }

Where it is downloaded from.