Class Sha1Hash
- Namespace
- H.Extensions.Torrent.Provider
- Assembly
- H.Extensions.Torrent.dll
public sealed class Sha1Hash- Inheritance
- 
      
      Sha1Hash
- Inherited Members
- Extension Methods
Constructors
Sha1Hash(byte[])
public Sha1Hash(byte[] value)Parameters
- valuebyte[]
Fields
Empty
public static readonly Sha1Hash EmptyField Value
Length
public const int Length = 20Field Value
Properties
Value
public byte[] Value { get; }Property Value
- byte[]
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)Parameters
- objobject
- The object to compare with the current object. 
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()Returns
- int
- A hash code for the current object. 
ToString()
Returns a string that represents the current object.
public override string ToString()Returns
- string
- A string that represents the current object. 
Operators
operator ==(Sha1Hash, Sha1Hash)
public static bool operator ==(Sha1Hash x, Sha1Hash y)Parameters
Returns
implicit operator byte[](Sha1Hash)
public static implicit operator byte[](Sha1Hash hash)Parameters
- hashSha1Hash
Returns
- byte[]
operator !=(Sha1Hash, Sha1Hash)
public static bool operator !=(Sha1Hash x, Sha1Hash y)