Table of Contents

Class VersionFile

Namespace
McServerLauncher.Models.Modrinth
Assembly
McServerLauncher.dll

One downloadable file of a version. A version may ship several (sources, javadoc); the one to install is the Primary one, and Hashes is what verifies it.

public class VersionFile
Inheritance
VersionFile
Inherited Members

Properties

Filename

[JsonPropertyName("filename")]
public string Filename { get; set; }

Property Value

string

Hashes

[JsonPropertyName("hashes")]
public FileHashes? Hashes { get; set; }

Property Value

FileHashes

Primary

[JsonPropertyName("primary")]
public bool Primary { get; set; }

Property Value

bool

Size

File size in bytes.

[JsonPropertyName("size")]
public long Size { get; set; }

Property Value

long

Url

[JsonPropertyName("url")]
public string Url { get; set; }

Property Value

string