Class Hash
Represents a raw hash value as a byte array. Supports implicit conversion to and from byte[].
public record Hash : IEquatable<Hash>
- Inheritance
-
Hash
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
Value
Gets the raw hash bytes.
public byte[] Value { get; }
Property Value
- byte[]
Operators
implicit operator Hash(byte[])
Converts a byte array to a Hash.
public static implicit operator Hash(byte[] hash)
Parameters
hashbyte[]
Returns
implicit operator byte[](Hash)
Converts a Hash to a byte array.
public static implicit operator byte[](Hash hash)
Parameters
hashHash
Returns
- byte[]