NonCryptographicHashAlgorithm.GetHashAndReset メソッド

定義

オーバーロード

GetHashAndReset()

現在計算されたハッシュ値を取得し、累積状態をクリアします。

GetHashAndReset(Span<Byte>)

計算されたハッシュ値を に destination 書き込み、累積状態をクリアします。

GetHashAndReset()

ソース:
NonCryptographicHashAlgorithm.cs
ソース:
NonCryptographicHashAlgorithm.cs
ソース:
NonCryptographicHashAlgorithm.cs

現在計算されたハッシュ値を取得し、累積状態をクリアします。

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

戻り値

Byte[]

既に提供されているデータのハッシュ値。

適用対象

GetHashAndReset(Span<Byte>)

ソース:
NonCryptographicHashAlgorithm.cs
ソース:
NonCryptographicHashAlgorithm.cs
ソース:
NonCryptographicHashAlgorithm.cs

計算されたハッシュ値を に destination 書き込み、累積状態をクリアします。

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

パラメーター

destination
Span<Byte>

計算されたハッシュ値を受け取るバッファー。

戻り値

destination書き込まれたバイト数 。これは常に HashLengthInBytesです。

例外

destinationHashLengthInBytes よりも短いです。

適用対象