Table of Contents

Class Hashes

Namespace
CivitaiSharp.Core.Models
Assembly
CivitaiSharp.Core.dll

Checksums and hashes for a model file using various algorithms.

public sealed record Hashes : IEquatable<Hashes>
Inheritance
Hashes
Implements
Inherited Members

Constructors

Hashes(string?, string?, string?, string?, string?, string?)

Checksums and hashes for a model file using various algorithms.

public Hashes(string? Sha256 = null, string? Crc32 = null, string? Blake3 = null, string? AutoV1 = null, string? AutoV2 = null, string? AutoV3 = null)

Parameters

Sha256 string

SHA256 hash of the model file. Maps to JSON property "SHA256".

Crc32 string

CRC32 hash of the model file. Maps to JSON property "CRC32".

Blake3 string

BLAKE3 hash of the model file. Maps to JSON property "BLAKE3".

AutoV1 string

AutoV1 hash algorithm result. Maps to JSON property "AutoV1".

AutoV2 string

AutoV2 hash algorithm result. Maps to JSON property "AutoV2".

AutoV3 string

AutoV3 hash algorithm result. Maps to JSON property "AutoV3".

Properties

AutoV1

AutoV1 hash algorithm result. Maps to JSON property "AutoV1".

[JsonPropertyName("AutoV1")]
public string? AutoV1 { get; init; }

Property Value

string

AutoV2

AutoV2 hash algorithm result. Maps to JSON property "AutoV2".

[JsonPropertyName("AutoV2")]
public string? AutoV2 { get; init; }

Property Value

string

AutoV3

AutoV3 hash algorithm result. Maps to JSON property "AutoV3".

[JsonPropertyName("AutoV3")]
public string? AutoV3 { get; init; }

Property Value

string

Blake3

BLAKE3 hash of the model file. Maps to JSON property "BLAKE3".

[JsonPropertyName("BLAKE3")]
public string? Blake3 { get; init; }

Property Value

string

Crc32

CRC32 hash of the model file. Maps to JSON property "CRC32".

[JsonPropertyName("CRC32")]
public string? Crc32 { get; init; }

Property Value

string

Sha256

SHA256 hash of the model file. Maps to JSON property "SHA256".

[JsonPropertyName("SHA256")]
public string? Sha256 { get; init; }

Property Value

string