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
Sha256stringSHA256 hash of the model file. Maps to JSON property "SHA256".
Crc32stringCRC32 hash of the model file. Maps to JSON property "CRC32".
Blake3stringBLAKE3 hash of the model file. Maps to JSON property "BLAKE3".
AutoV1stringAutoV1 hash algorithm result. Maps to JSON property "AutoV1".
AutoV2stringAutoV2 hash algorithm result. Maps to JSON property "AutoV2".
AutoV3stringAutoV3 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
AutoV2
AutoV2 hash algorithm result. Maps to JSON property "AutoV2".
[JsonPropertyName("AutoV2")]
public string? AutoV2 { get; init; }
Property Value
AutoV3
AutoV3 hash algorithm result. Maps to JSON property "AutoV3".
[JsonPropertyName("AutoV3")]
public string? AutoV3 { get; init; }
Property Value
Blake3
BLAKE3 hash of the model file. Maps to JSON property "BLAKE3".
[JsonPropertyName("BLAKE3")]
public string? Blake3 { get; init; }
Property Value
Crc32
CRC32 hash of the model file. Maps to JSON property "CRC32".
[JsonPropertyName("CRC32")]
public string? Crc32 { get; init; }
Property Value
Sha256
SHA256 hash of the model file. Maps to JSON property "SHA256".
[JsonPropertyName("SHA256")]
public string? Sha256 { get; init; }