NonCryptographicHashAlgorithm.GetHashAndReset Metodo

Definizione

Overload

Nome Descrizione
GetHashAndReset()

Ottiene il valore hash calcolato corrente e cancella lo stato accumulato.

GetHashAndReset(Span<Byte>)

Scrive il valore hash calcolato in destination per cancellare quindi lo stato accumulato.

GetHashAndReset()

Origine:
NonCryptographicHashAlgorithm.cs
Origine:
NonCryptographicHashAlgorithm.cs
Origine:
NonCryptographicHashAlgorithm.cs
Origine:
NonCryptographicHashAlgorithm.cs

Ottiene il valore hash calcolato corrente e cancella lo stato accumulato.

public:
 cli::array <System::Byte> ^ GetHashAndReset();
public byte[] GetHashAndReset();
member this.GetHashAndReset : unit -> byte[]
Public Function GetHashAndReset () As Byte()

Valori restituiti

Byte[]

Valore hash per i dati già forniti.

Si applica a

GetHashAndReset(Span<Byte>)

Origine:
NonCryptographicHashAlgorithm.cs
Origine:
NonCryptographicHashAlgorithm.cs
Origine:
NonCryptographicHashAlgorithm.cs
Origine:
NonCryptographicHashAlgorithm.cs

Scrive il valore hash calcolato in destination per cancellare quindi lo stato accumulato.

public:
 int GetHashAndReset(Span<System::Byte> destination);
public int GetHashAndReset(Span<byte> destination);
member this.GetHashAndReset : Span<byte> -> int
Public Function GetHashAndReset (destination As Span(Of Byte)) As Integer

Parametri

destination
Span<Byte>

Buffer che riceve il valore hash calcolato.

Valori restituiti

Numero di byte scritti in destination, che è sempre HashLengthInBytes.

Eccezioni

destination è più breve di HashLengthInBytes.

Si applica a