Language

NonCryptographicHashAlgorithm.GetCurrentHash メソッド

定義

オーバーロード

名前 説明
GetCurrentHash()

累積状態を変更せずに、現在計算されたハッシュ値を取得します。

GetCurrentHash(Span<Byte>)

累積状態を変更せずに、計算されたハッシュ値を destination に書き込みます。

GetCurrentHash()

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

累積状態を変更せずに、現在計算されたハッシュ値を取得します。

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

返品

Byte[]

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

適用対象

GetCurrentHash(Span<Byte>)

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

累積状態を変更せずに、計算されたハッシュ値を destination に書き込みます。

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

パラメーター

destination
Span<Byte>

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

返品

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

例外

destination が HashLengthInBytesよりも短い。

適用対象